/*
 * Copyright (c) Hunan Goke,Chengdu Goke,Shandong Goke. 2021. All rights reserved.
 */
#ifndef __OV2718_CMOS_EX_H_
#define __OV2718_CMOS_EX_H_

#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif
#endif

static const ISP_CMOS_LCAC_S g_stIspLCac = {
	
    /*bEnable*/
    1,
	/*u16PurpleDetRange*/
	30,
	/*VarThr*/
	0,
    /*au16RLumaThd*/
    {1500, 1500, 0},
    /*au16GLumaThd*/
    {1500, 1500, 0},
    /*au16BLumaThd*/
    {4095, 1500, 0},
    /*au16YLumaThd*/
    {3200, 1500, 0},
    /*as16CbCrRatio*/
    { -50, -50, -50},    
	/*enOpMode*/
    0,
	/*stManual*/
    {
        //u8DePurpleCrStr
        0,
        //u8DePurpleCbStr 
        3
    },
	/*stAuto*/
    {
        //u8DePurpleCrStr
    	{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
        //u8DePurpleCbStr    	
    	{3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3}
    }
};


static const ISP_CMOS_LCAC_S g_stIspLCacWdr = {
	
	/*bEnable*/
	1,
	/*u16PurpleDetRange*/
	30,
	/*VarThr*/
	130,
    /*au16RLumaThd*/
    {1500, 1500, 0},
    /*au16GLumaThd*/
    {1500, 1500, 0},
    /*au16BLumaThd*/
    {4095, 1500, 0},
    /*au16YLumaThd*/
    {3200, 1500, 0},
    /*as16CbCrRatio*/
    { -50, -50, -50},    
	/*enOpMode*/
	0,
	/*stManual*/
	{
		//u8DePurpleCrStr
		0,
		//u8DePurpleCbStr 
		3
	},
	/*stAuto*/
	{
		//u8DePurpleCrStr
		{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
		//u8DePurpleCbStr		
		{3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3}
	}
};


static const ISP_CMOS_EXPANDER_S g_stCmosExpander = {
    1, /* bEnable */
    12, /* u8BitDepthIn */
    16, /* u8BitDepthOut */
    /* ISP_CMOS_EXPANDER_POINT_S */
    {
        {16,  512},
        {24,  1024},
        {80,  8192},
        {128, 32768},
        {129, 32768},
    },
};

static const ISP_CMOS_DPC_S g_stCmosDpc = {
    {0, 0, 0, 152, 200, 200, 220, 220, 220, 220, 152, 152, 152, 152, 152, 152}, /* au16Strength[16] */
    {0, 0, 0,  0,  0,  0,  0,  0,  0,  0, 50, 50, 50, 50, 50, 50}, /* au16BlendRatio[16] */
    0,       /* 0 for after drc, 1 for before wdr */
};

static const ISP_CMOS_GE_S g_stIspGe = {
    /* For GE */
    1,    /* bEnable */
    13,    /* u8Slope */
    13,    /* u8SensiSlope */
    4800, /* u16SensiThr */
    { 4800,  4800,  4800,  4800,  4960,  4960,  4960,  4960,  5120,  5120,  5120,  5120,  5280,  5280,  5280,  5280}, /* au16Threshold[ISP_AUTO_ISO_STRENGTH_NUM] */
    { 128,   128,   128,   128,   129,   129,   129,   129,   130,   130,   130,   130,   131,   131,   131,   131}, /* au16Strength[ISP_AUTO_ISO_STRENGTH_NUM] */
    {16384, 16384, 16384, 16384, 16384, 32768, 32768, 32768, 32768, 32768, 32768, 32768, 32768, 32768, 32768, 32768} /* au16NpOffset[ISP_AUTO_ISO_STRENGTH_NUM] */
};

static const ISP_CMOS_GE_S g_stIspWdrGe = {
    /* For GE */
    1,    /* bEnable */
    13,    /* u8Slope */
    13,    /* u8SensiSlope */
    4800, /* u16SensiThr */
    { 4800,  4800,  4800,  4800,  4960,  4960,  4960,  4960,  5120,  5120,  5120,  5120,  5280,  5280,  5280,  5280}, /* au16Threshold[ISP_AUTO_ISO_STRENGTH_NUM] */
    { 128,   128,   128,   128,   129,   129,   129,   129,   130,   130,   130,   130,   131,   131,   131,   131}, /* au16Strength[ISP_AUTO_ISO_STRENGTH_NUM] */
    {16384, 16384, 16384, 16384, 16384, 32768, 32768, 32768, 32768, 32768, 32768, 32768, 32768, 32768, 32768, 32768} /* au16NpOffset[ISP_AUTO_ISO_STRENGTH_NUM] */
};

static const ISP_CMOS_DEMOSAIC_S g_stIspDemosaic = {
    1,    // bEnable
    /* au8NonDirStr */
    {64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64},
    /* au8NonDirLFDetailEhc */
    {32, 24, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16},
    /* au8NonDirHFDetailEhc */
    {3, 3, 3, 5, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7},
    /* au8DetailSmoothRange */
    {3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 7, 7, 7, 7, 7, 7},
};


static const ISP_CMOS_DEMOSAIC_S g_stIspDemosaicWdr = {
    1,    // bEnable
    /* au8NonDirStr */
    {64, 64, 64, 48, 48, 48, 32, 32, 32, 32, 16, 16, 16, 16, 16, 16},
    /* au8NonDirLFDetailEhc */
    {16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16},
    /* au8NonDirHFDetailEhc */
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    /* au8DetailSmoothRange */
    {4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 7, 7, 7, 7, 7, 7},
};

static const ISP_CMOS_ANTIFALSECOLOR_S g_stIspAntiFalseColor = {
    1,    /* bEnable */
    {10, 10, 8, 8, 7, 7, 7, 6, 6, 6, 5, 4, 3, 2, 1, 0}, /* au8AntiFalseColorThreshold */
    {8, 8, 8, 8, 7, 7, 7, 6, 6, 6, 5, 4, 3, 2, 1, 0}, /* au8AntiFalseColorStrength */
};

static const ISP_CMOS_ANTIFALSECOLOR_S g_stIspWdrAntiFalseColor = {
    1,    /* bEnable */
    {10, 10, 8, 8, 7, 7, 7, 6, 6, 6, 5, 4, 3, 2, 1, 0}, /* au8AntiFalseColorThreshold */
    {8, 8, 8, 8, 7, 7, 7, 6, 6, 6, 5, 4, 3, 2, 1, 0}, /* au8AntiFalseColorStrength */
};

/***BAYER NR**/
static ISP_CMOS_NOISE_CALIBRATION_S g_stIspNoiseCalibratio = {
    12,     // Calibration Lut Num
    /*************Calibration LUT Table*************/
    {
        {106.0f,    0.017536f,  0.024127f},
        {117.0f,    0.01939f,   0.025791f},
        {227.0f,    0.037736f,  0.040171f},
        {470.0f,    0.07777f,   0.084227f},
        {1747.0f,   0.287293f,  0.379383f},
        {4002.0f,   0.655649f,  1.155996f},
        {6491.0f,   1.065072f,  2.335924f},
        {15969.0f,  2.720477f,  10.456544f},
        {29738.0f,  5.172001f,  30.797239f},
        {59343.0f,  10.782349f, 100.457473f},
        {103124.0f, 21.000038f, 210.387179f},
        {238817.0f, 28.774144f, 257.811098f}
    }
    /*********************************************/
};
static const ISP_CMOS_BAYERNR_S g_stIspBayerNr = {
    1,      // bEnable
    0,      // bBnrMonoSensorEn
    0,      // bNrLscEnable
    96,     // u8BnrLscMaxGain
    256,    // u16BnrLscCmpStrength
    {40, 45, 50, 50, 50, 50, 50, 46, 40, 40, 30, 28, 24, 20, 16, 16},     // FineStr
    {
        {1, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3}, // ChromaStrR
        {0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2}, // ChromaStrGr
        {0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2}, // ChromaStrGb
        {1, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3}  // ChromaStrB
    },
    {0, 0, 0, 0},                // WDRFrameStr
    {0, 0, 0, 0},                // FusionFrameStr
    {
        {114, 117, 120, 120, 120, 120, 120, 140, 160, 160, 180, 200, 200, 200, 200, 200},    // CoarseStrR
        {100, 105, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110},    // CoarseStrGR
        {100, 105, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110},    // CoarseStrGB
        {114, 117, 120, 120, 120, 120, 120, 140, 160, 160, 180, 200, 200, 200, 200, 200}     // CoarseStrB
    },
    {35, 40, 50, 80, 100, 140, 200, 240, 280, 300, 300, 400, 400, 400, 400, 400},     // lutCoringWeight
    {
        60, 60, 60, 60, 65, 65, 65, 65, 70, 70, 70, 70, 70, 70, 70, 70, \
        80, 80, 80, 85, 85, 85, 90, 90, 90, 95, 95, 95, 100, 100, 100, 100, 100
    },   // CoringRatio
};

static const ISP_CMOS_BAYERNR_S g_stIspBayerNrWdr2To1 = {
    1,      // bEnable
    0,      // bBnrMonoSensorEn
    0,      // bNrLscEnable
    96,     // u8BnrLscMaxGain
    256,    // u16BnrLscCmpStrength
    {35, 35, 35, 32, 32, 32, 21, 16, 16, 16, 16, 16, 16, 16, 16, 16},     // FineStr
    {
        {1, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3}, // ChromaStrR
        {0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2}, // ChromaStrGr
        {0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2}, // ChromaStrGb
        {1, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3} // ChromaStrB
    },
    {10, 16, 28, 0},              // WDRFrameStr
    {26, 16, 0, 0},               // FusionCoarseStr
    {
        {120, 120, 120, 120, 120, 120, 120, 140, 160, 160, 180, 200, 200, 200, 200, 200},    // CoarseStrR
        {110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110},    // CoarseStrGR
        {110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110},    // CoarseStrGB
        {120, 120, 120, 120, 120, 120, 120, 140, 160, 160, 180, 200, 200, 200, 200, 200}     // CoarseStrB
    },
    {20, 30, 35, 50, 60, 80, 100, 140, 200, 240, 280, 300, 400, 400, 400, 400},     // lutCoringWeight
    {
        100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, \
        100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100
    }, // coring ratio
};

static const ISP_CMOS_DETAIL_S g_stIspDetail = {
    {
        0,      // bEnable
        {256, 256, 200, 170, 150, 100, 60, 60, 60, 80, 80, 80, 80, 50, 50, 100, 100},     // au16LumaGainLut[ISP_DE_LUMA_GAIN_LUT_N]
        1,          // enOpType
        {
            {150, 150, 150, 150, 170, 190, 190, 150, 150, 150, 150, 150, 150, 150, 150, 150}, // u16GlobalGain;
            {9,   9,   9,   9,   8,   8,   8,   8,   8,   8,   8,   8,   8,   8,   8,   8 },  // u16GainLF;
            {9,   9,   9,   9,   12,  12,  12,  12,  12,  12,  12,  12,  12,  12,  12,  12 },  // u16GainHF;
        },
        {
            150,  // u16GlobalGain;
            9,     // u16GainLF;
            9     // u16GainHFPos;
        }
    }
};

static const ISP_CMOS_DETAIL_S g_stIspDetailWdr2To1 = {
    {
        0,      // bEnable
        {256, 256, 200, 170, 150, 100, 60, 60, 60, 80, 80, 80, 80, 50, 50, 100, 100},     // au16LumaGainLut[ISP_DE_LUMA_GAIN_LUT_N]
        1,          // enOpType
        {
            {150, 150, 150, 150, 170, 190, 190, 150, 150, 150, 150, 150, 150, 150, 150, 150}, // u16GlobalGain;
            {9,   9,   9,   9,   8,   8,   8,   8,   8,   8,   8,   8,   8,   8,   8,   8 },  // u16GainLF;
            {9,   9,   9,   9,   12,  12,  12,  12,  12,  12,  12,  12,  12,  12,  12,  12 },  // u16GainHF;
        },
        {
            150,  // u16GlobalGain;
            9,     // u16GainLF;
            9     // u16GainHFPos;
        }
    }
};

static const ISP_CMOS_LDCI_S g_stIspLdci = {
    /* bEnable */
    1,
    /* u8GaussLPFSigma */
    36,

    /* au8HePosWgt */
    {50, 45, 42, 40, 35, 32, 12, 8, 6, 0, 0, 0, 0, 0, 0, 0},
    /* au8HePosSigma */
    {80, 80, 72, 72, 72, 64, 24, 20, 12, 8, 6, 2, 1, 1, 1, 1},
    /* au8HePosMean */
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

    /* au8HeNegWgt */
    {50, 45, 45, 45, 45, 24, 12, 8, 6, 0, 0, 0, 0, 0, 0, 0},
    /* au8HeNegSigma */
    {80, 80, 80, 80, 80, 72, 64, 54, 36, 8, 6, 2, 1, 1, 1, 1},
    /* au8HeNegMean */
    {128, 128, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

    /* au16BlcCtrl */
    {20, 20, 20, 20, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30}
};

static const ISP_CMOS_LDCI_S g_stIspWdrLdci = {
    /* bEnable */
    0,
    /* u8GaussLPFSigma */
    36,

    /* au8HePosWgt */
    {50, 45, 42, 40, 35, 32, 12, 8, 6, 0, 0, 0, 0, 0, 0, 0},
    /* au8HePosSigma */
    {80, 80, 72, 72, 72, 64, 24, 20, 12, 8, 6, 2, 1, 1, 1, 1},
    /* au8HePosMean */
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

    /* au8HeNegWgt */
    {50, 45, 45, 45, 45, 24, 12, 8, 6, 0, 0, 0, 0, 0, 0, 0},
    /* au8HeNegSigma */
    {80, 80, 80, 80, 80, 72, 64, 54, 36, 8, 6, 2, 1, 1, 1, 1},
    /* au8HeNegMean */
    {128, 128, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

    /* au16BlcCtrl */
    {20, 20, 20, 20, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30}
};

static const ISP_CMOS_GAMMA_S g_stIspGamma = {
    {
        0,   33,   63,   92,  120,  146,  172,  196,  220,  243,  266,  289,  310,  331,  350,  370,  390,  410,  431,  451,  470,  488,  506,  523,  540,  558,  576,  593,  610,  626,
        641,  655,  670,  685,  700,  715,  730,  744,  758,  772,  786,  800,  814,  828,  842,  855,  868,  881,  894,  907,  919,  932,  944,  956,  968,  981,  994, 1008, 1022, 1036,
        1050, 1063, 1074, 1085, 1096, 1107, 1117, 1128, 1138, 1148, 1158, 1168, 1178, 1188, 1198, 1208, 1218, 1228, 1237, 1246, 1254, 1261, 1267, 1273, 1280, 1288, 1296, 1305, 1314, 1322,
        1330, 1338, 1346, 1354, 1362, 1370, 1378, 1386, 1393, 1401, 1408, 1415, 1423, 1430, 1438, 1445, 1453, 1460, 1467, 1474, 1480, 1487, 1493, 1500, 1506, 1513, 1519, 1525, 1531, 1537,
        1543, 1549, 1555, 1562, 1568, 1574, 1580, 1586, 1592, 1598, 1604, 1609, 1615, 1621, 1626, 1632, 1638, 1644, 1650, 1655, 1661, 1667, 1672, 1678, 1683, 1689, 1694, 1700, 1705, 1710,
        1715, 1721, 1726, 1731, 1737, 1742, 1748, 1753, 1759, 1764, 1769, 1774, 1779, 1784, 1789, 1794, 1799, 1805, 1810, 1815, 1820, 1825, 1830, 1835, 1839, 1844, 1849, 1854, 1859, 1864,
        1869, 1874, 1879, 1883, 1888, 1893, 1897, 1902, 1907, 1912, 1916, 1921, 1926, 1931, 1936, 1940, 1945, 1950, 1954, 1959, 1963, 1967, 1972, 1976, 1981, 1985, 1990, 1994, 1999, 2004,
        2008, 2013, 2017, 2021, 2025, 2030, 2034, 2038, 2043, 2048, 2052, 2056, 2061, 2065, 2069, 2073, 2078, 2082, 2086, 2090, 2094, 2098, 2102, 2106, 2110, 2115, 2119, 2123, 2128, 2132,
        2136, 2140, 2144, 2148, 2152, 2156, 2160, 2164, 2168, 2172, 2176, 2180, 2184, 2188, 2192, 2196, 2200, 2204, 2208, 2212, 2216, 2220, 2223, 2227, 2231, 2235, 2239, 2243, 2247, 2251,
        2255, 2258, 2262, 2266, 2269, 2273, 2277, 2281, 2285, 2288, 2292, 2296, 2300, 2303, 2307, 2311, 2314, 2318, 2322, 2326, 2330, 2333, 2337, 2341, 2344, 2347, 2351, 2355, 2358, 2362,
        2366, 2370, 2373, 2377, 2380, 2383, 2387, 2390, 2394, 2398, 2401, 2405, 2408, 2411, 2415, 2418, 2422, 2426, 2429, 2433, 2436, 2439, 2443, 2446, 2450, 2454, 2457, 2461, 2464, 2467,
        2470, 2474, 2477, 2480, 2484, 2488, 2491, 2494, 2498, 2501, 2504, 2507, 2511, 2515, 2518, 2521, 2525, 2528, 2531, 2534, 2537, 2541, 2544, 2547, 2551, 2554, 2557, 2560, 2563, 2567,
        2570, 2573, 2577, 2580, 2583, 2586, 2589, 2593, 2596, 2599, 2603, 2606, 2609, 2612, 2615, 2618, 2621, 2624, 2628, 2631, 2634, 2637, 2640, 2643, 2646, 2649, 2652, 2656, 2659, 2662,
        2665, 2668, 2671, 2674, 2677, 2680, 2683, 2686, 2690, 2693, 2696, 2699, 2702, 2705, 2708, 2711, 2714, 2717, 2720, 2723, 2726, 2729, 2732, 2735, 2738, 2741, 2744, 2747, 2750, 2753,
        2756, 2759, 2762, 2764, 2767, 2770, 2773, 2776, 2779, 2782, 2785, 2788, 2791, 2794, 2796, 2799, 2802, 2805, 2808, 2811, 2814, 2817, 2820, 2822, 2825, 2828, 2831, 2834, 2837, 2840,
        2843, 2845, 2848, 2851, 2853, 2856, 2859, 2862, 2865, 2868, 2871, 2874, 2877, 2879, 2882, 2885, 2887, 2890, 2893, 2896, 2899, 2901, 2904, 2907, 2909, 2912, 2915, 2918, 2920, 2923,
        2926, 2929, 2932, 2934, 2937, 2940, 2942, 2945, 2948, 2951, 2954, 2956, 2959, 2962, 2964, 2966, 2969, 2972, 2974, 2977, 2980, 2983, 2986, 2988, 2991, 2994, 2996, 2998, 3001, 3004,
        3006, 3009, 3012, 3015, 3018, 3020, 3023, 3026, 3028, 3031, 3033, 3035, 3038, 3040, 3043, 3046, 3048, 3051, 3054, 3057, 3059, 3062, 3064, 3066, 3069, 3071, 3074, 3077, 3080, 3082,
        3085, 3088, 3090, 3093, 3095, 3097, 3100, 3102, 3105, 3108, 3110, 3113, 3115, 3117, 3120, 3122, 3125, 3128, 3130, 3133, 3135, 3138, 3140, 3143, 3145, 3147, 3150, 3152, 3155, 3158,
        3160, 3163, 3165, 3167, 3170, 3172, 3175, 3178, 3180, 3183, 3185, 3187, 3189, 3192, 3194, 3196, 3199, 3201, 3204, 3207, 3209, 3211, 3214, 3217, 3219, 3222, 3224, 3226, 3228, 3231,
        3233, 3235, 3238, 3241, 3243, 3245, 3247, 3250, 3252, 3254, 3257, 3260, 3262, 3264, 3267, 3269, 3271, 3273, 3276, 3279, 3281, 3283, 3286, 3288, 3290, 3292, 3295, 3298, 3300, 3302,
        3305, 3307, 3309, 3311, 3313, 3316, 3318, 3320, 3322, 3325, 3327, 3329, 3332, 3335, 3337, 3339, 3342, 3344, 3346, 3348, 3350, 3353, 3355, 3357, 3360, 3362, 3364, 3366, 3368, 3371,
        3373, 3375, 3378, 3380, 3382, 3384, 3386, 3389, 3391, 3393, 3396, 3398, 3400, 3402, 3405, 3407, 3409, 3411, 3413, 3416, 3418, 3420, 3423, 3425, 3427, 3429, 3431, 3434, 3436, 3438,
        3441, 3443, 3445, 3447, 3449, 3452, 3454, 3456, 3459, 3461, 3463, 3465, 3467, 3469, 3471, 3473, 3475, 3478, 3480, 3482, 3484, 3487, 3489, 3491, 3494, 3496, 3498, 3500, 3502, 3504,
        3506, 3508, 3511, 3513, 3515, 3517, 3519, 3521, 3523, 3525, 3528, 3530, 3532, 3534, 3536, 3538, 3540, 3542, 3545, 3547, 3549, 3551, 3553, 3555, 3557, 3559, 3561, 3564, 3566, 3568,
        3570, 3572, 3574, 3576, 3578, 3581, 3583, 3585, 3587, 3589, 3591, 3593, 3595, 3598, 3600, 3602, 3604, 3606, 3608, 3610, 3612, 3614, 3616, 3618, 3620, 3622, 3624, 3626, 3628, 3631,
        3633, 3635, 3637, 3639, 3641, 3643, 3645, 3647, 3649, 3651, 3653, 3655, 3657, 3659, 3661, 3663, 3665, 3667, 3670, 3672, 3674, 3676, 3678, 3680, 3682, 3684, 3686, 3688, 3690, 3692,
        3694, 3696, 3698, 3700, 3702, 3704, 3706, 3708, 3710, 3712, 3714, 3716, 3718, 3720, 3722, 3724, 3726, 3728, 3730, 3732, 3734, 3736, 3738, 3740, 3742, 3744, 3746, 3748, 3750, 3752,
        3754, 3756, 3758, 3760, 3762, 3764, 3766, 3767, 3769, 3771, 3773, 3775, 3777, 3779, 3781, 3783, 3785, 3787, 3789, 3791, 3793, 3795, 3797, 3799, 3801, 3803, 3804, 3806, 3808, 3810,
        3812, 3814, 3816, 3818, 3820, 3822, 3824, 3826, 3828, 3830, 3832, 3834, 3836, 3837, 3839, 3841, 3843, 3845, 3847, 3849, 3851, 3853, 3855, 3857, 3858, 3860, 3862, 3864, 3866, 3868,
        3870, 3872, 3873, 3875, 3877, 3879, 3881, 3883, 3885, 3887, 3888, 3890, 3892, 3894, 3896, 3898, 3900, 3902, 3904, 3905, 3907, 3909, 3911, 3913, 3915, 3917, 3919, 3920, 3922, 3924,
        3926, 3928, 3930, 3932, 3934, 3935, 3937, 3939, 3941, 3943, 3945, 3947, 3949, 3950, 3952, 3954, 3955, 3957, 3959, 3961, 3963, 3965, 3967, 3969, 3971, 3972, 3974, 3976, 3977, 3979,
        3981, 3983, 3985, 3987, 3989, 3991, 3993, 3994, 3996, 3998, 4000, 4001, 4003, 4005, 4006, 4008, 4010, 4012, 4014, 4016, 4018, 4020, 4022, 4023, 4025, 4027, 4028, 4030, 4032, 4034,
        4036, 4037, 4039, 4041, 4042, 4044, 4046, 4048, 4050, 4052, 4054, 4056, 4058, 4059, 4061, 4063, 4064, 4066, 4068, 4070, 4072, 4073, 4075, 4077, 4078, 4080, 4082, 4084, 4086, 4087,
        4089, 4091, 4092, 4094, 4095
    }
};

static const ISP_CMOS_GAMMA_S g_stIspGammaFSWDR = {
#if 1
    /* 0.8gamma */
    {

        0, 23, 38, 52, 64, 76, 87, 97, 108, 118, 127, 137, 146, 155, 164, 172, 181, 189, 198, 206, 214, 222, 230, 238, 245, 253,
        260, 268, 275, 283, 290, 297, 304, 311, 319, 326, 332, 339, 346, 353, 360, 367, 373, 380, 386, 393, 400, 406, 413, 419,
        425, 432, 438, 444, 451, 457, 463, 469, 475, 482, 488, 494, 500, 506, 512, 518, 524, 530, 536, 542, 547, 553, 559, 565,
        571, 577, 582, 588, 594, 599, 605, 611, 616, 622, 628, 633, 639, 644, 650, 655, 661, 667, 672, 677, 683, 688, 694, 699,
        705, 710, 715, 721, 726, 731, 737, 742, 747, 753, 758, 763, 768, 774, 779, 784, 789, 794, 800, 805, 810, 815, 820, 825,
        830, 836, 841, 846, 851, 856, 861, 866, 871, 876, 881, 886, 891, 896, 901, 906, 911, 916, 921, 926, 931, 935, 940, 945,
        950, 955, 960, 965, 970, 974, 979, 984, 989, 994, 999, 1003, 1008, 1013, 1018, 1022, 1027, 1032, 1037, 1041, 1046, 1051,
        1056, 1060, 1065, 1070, 1074, 1079, 1084, 1088, 1093, 1098, 1102, 1107, 1112, 1116, 1121, 1126, 1130, 1135, 1139, 1144,
        1149, 1153, 1158, 1162, 1167, 1171, 1176, 1180, 1185, 1190, 1194, 1199, 1203, 1208, 1212, 1217, 1221, 1226, 1230, 1235,
        1239, 1243, 1248, 1252, 1257, 1261, 1266, 1270, 1275, 1279, 1283, 1288, 1292, 1297, 1301, 1305, 1310, 1314, 1319, 1323,
        1327, 1332, 1336, 1340, 1345, 1349, 1353, 1358, 1362, 1366, 1371, 1375, 1379, 1384, 1388, 1392, 1397, 1401, 1405, 1409,
        1414, 1418, 1422, 1427, 1431, 1435, 1439, 1444, 1448, 1452, 1456, 1461, 1465, 1469, 1473, 1477, 1482, 1486, 1490, 1494,
        1498, 1503, 1507, 1511, 1515, 1519, 1523, 1528, 1532, 1536, 1540, 1544, 1548, 1553, 1557, 1561, 1565, 1569, 1573, 1577,
        1582, 1586, 1590, 1594, 1598, 1602, 1606, 1610, 1614, 1618, 1623, 1627, 1631, 1635, 1639, 1643, 1647, 1651, 1655, 1659,
        1663, 1667, 1671, 1675, 1679, 1683, 1687, 1691, 1695, 1700, 1704, 1708, 1712, 1716, 1720, 1724, 1728, 1732, 1736, 1740,
        1744, 1748, 1752, 1755, 1759, 1763, 1767, 1771, 1775, 1779, 1783, 1787, 1791, 1795, 1799, 1803, 1807, 1811, 1815, 1819,
        1823, 1827, 1831, 1834, 1838, 1842, 1846, 1850, 1854, 1858, 1862, 1866, 1870, 1874, 1877, 1881, 1885, 1889, 1893, 1897,
        1901, 1905, 1908, 1912, 1916, 1920, 1924, 1928, 1932, 1935, 1939, 1943, 1947, 1951, 1955, 1959, 1962, 1966, 1970, 1974,
        1978, 1981, 1985, 1989, 1993, 1997, 2001, 2004, 2008, 2012, 2016, 2020, 2023, 2027, 2031, 2035, 2039, 2042, 2046, 2050,
        2054, 2057, 2061, 2065, 2069, 2072, 2076, 2080, 2084, 2088, 2091, 2095, 2099, 2103, 2106, 2110, 2114, 2117, 2121, 2125,
        2129, 2132, 2136, 2140, 2144, 2147, 2151, 2155, 2158, 2162, 2166, 2170, 2173, 2177, 2181, 2184, 2188, 2192, 2195, 2199,
        2203, 2207, 2210, 2214, 2218, 2221, 2225, 2229, 2232, 2236, 2240, 2243, 2247, 2251, 2254, 2258, 2262, 2265, 2269, 2273,
        2276, 2280, 2284, 2287, 2291, 2294, 2298, 2302, 2305, 2309, 2313, 2316, 2320, 2323, 2327, 2331, 2334, 2338, 2342, 2345,
        2349, 2352, 2356, 2360, 2363, 2367, 2370, 2374, 2378, 2381, 2385, 2388, 2392, 2396, 2399, 2403, 2406, 2410, 2413, 2417,
        2421, 2424, 2428, 2431, 2435, 2438, 2442, 2446, 2449, 2453, 2456, 2460, 2463, 2467, 2470, 2474, 2478, 2481, 2485, 2488,
        2492, 2495, 2499, 2502, 2506, 2509, 2513, 2516, 2520, 2524, 2527, 2531, 2534, 2538, 2541, 2545, 2548, 2552, 2555, 2559,
        2562, 2566, 2569, 2573, 2576, 2580, 2583, 2587, 2590, 2594, 2597, 2601, 2604, 2608, 2611, 2615, 2618, 2622, 2625, 2629,
        2632, 2636, 2639, 2642, 2646, 2649, 2653, 2656, 2660, 2663, 2667, 2670, 2674, 2677, 2681, 2684, 2687, 2691, 2694, 2698,
        2701, 2705, 2708, 2712, 2715, 2718, 2722, 2725, 2729, 2732, 2736, 2739, 2742, 2746, 2749, 2753, 2756, 2760, 2763, 2766,
        2770, 2773, 2777, 2780, 2784, 2787, 2790, 2794, 2797, 2801, 2804, 2807, 2811, 2814, 2818, 2821, 2824, 2828, 2831, 2835,
        2838, 2841, 2845, 2848, 2851, 2855, 2858, 2862, 2865, 2868, 2872, 2875, 2878, 2882, 2885, 2889, 2892, 2895, 2899, 2902,
        2905, 2909, 2912, 2916, 2919, 2922, 2926, 2929, 2932, 2936, 2939, 2942, 2946, 2949, 2952, 2956, 2959, 2962, 2966, 2969,
        2972, 2976, 2979, 2982, 2986, 2989, 2992, 2996, 2999, 3002, 3006, 3009, 3012, 3016, 3019, 3022, 3026, 3029, 3032, 3036,
        3039, 3042, 3046, 3049, 3052, 3055, 3059, 3062, 3065, 3069, 3072, 3075, 3079, 3082, 3085, 3088, 3092, 3095, 3098, 3102,
        3105, 3108, 3112, 3115, 3118, 3121, 3125, 3128, 3131, 3135, 3138, 3141, 3144, 3148, 3151, 3154, 3157, 3161, 3164, 3167,
        3170, 3174, 3177, 3180, 3184, 3187, 3190, 3193, 3197, 3200, 3203, 3206, 3210, 3213, 3216, 3219, 3223, 3226, 3229, 3232,
        3236, 3239, 3242, 3245, 3249, 3252, 3255, 3258, 3262, 3265, 3268, 3271, 3274, 3278, 3281, 3284, 3287, 3291, 3294, 3297,
        3300, 3303, 3307, 3310, 3313, 3316, 3320, 3323, 3326, 3329, 3332, 3336, 3339, 3342, 3345, 3348, 3352, 3355, 3358, 3361,
        3365, 3368, 3371, 3374, 3377, 3381, 3384, 3387, 3390, 3393, 3396, 3400, 3403, 3406, 3409, 3412, 3416, 3419, 3422, 3425,
        3428, 3432, 3435, 3438, 3441, 3444, 3447, 3451, 3454, 3457, 3460, 3463, 3466, 3470, 3473, 3476, 3479, 3482, 3485, 3489,
        3492, 3495, 3498, 3501, 3504, 3508, 3511, 3514, 3517, 3520, 3523, 3527, 3530, 3533, 3536, 3539, 3542, 3545, 3549, 3552,
        3555, 3558, 3561, 3564, 3567, 3571, 3574, 3577, 3580, 3583, 3586, 3589, 3593, 3596, 3599, 3602, 3605, 3608, 3611, 3614,
        3618, 3621, 3624, 3627, 3630, 3633, 3636, 3639, 3643, 3646, 3649, 3652, 3655, 3658, 3661, 3664, 3667, 3671, 3674, 3677,
        3680, 3683, 3686, 3689, 3692, 3695, 3699, 3702, 3705, 3708, 3711, 3714, 3717, 3720, 3723, 3726, 3730, 3733, 3736, 3739,
        3742, 3745, 3748, 3751, 3754, 3757, 3760, 3764, 3767, 3770, 3773, 3776, 3779, 3782, 3785, 3788, 3791, 3794, 3797, 3800,
        3804, 3807, 3810, 3813, 3816, 3819, 3822, 3825, 3828, 3831, 3834, 3837, 3840, 3843, 3847, 3850, 3853, 3856, 3859, 3862,
        3865, 3868, 3871, 3874, 3877, 3880, 3883, 3886, 3889, 3892, 3895, 3898, 3902, 3905, 3908, 3911, 3914, 3917, 3920, 3923,
        3926, 3929, 3932, 3935, 3938, 3941, 3944, 3947, 3950, 3953, 3956, 3959, 3962, 3965, 3968, 3971, 3974, 3977, 3980, 3984,
        3987, 3990, 3993, 3996, 3999, 4002, 4005, 4008, 4011, 4014, 4017, 4020, 4023, 4026, 4029, 4032, 4035, 4038, 4041, 4044,
        4047, 4050, 4053, 4056, 4059, 4062, 4065, 4068, 4071, 4074, 4077, 4080, 4083, 4086, 4089, 4092, 4095

    }
#endif
};

static const ISP_CMOS_PREGAMMA_S g_stPreGamma = {
    0,
    {
        3821,    7131,    9741,   11691,   13307,   14713,   15971,   17118,   18179,   20099,   21818,   23385,   24833,   26185,   27456,   28659,
        29804,   30897,   31945,   32952,   33923,   35770,   37506,   39150,   40713,   42207,   43638,   45014,   46340,   47622,   48863,   50066,
        51235,   52373,   53481,   54561,   55616,   57656,   59611,   61491,   63303,   65054,   66749,   68393,   69990,   71543,   73057,   74533,
        75974,   77383,   78761,   80110,   81432,   83999,   86475,   88866,   91182,   93428,   95609,   97731,   99799,  101815,  103784,  105708,
        107590,  109433,  111239,  113010,  114747,  118128,  121395,  124558,  127626,  130606,  133505,  136330,  139084,  141773,  144402,  146973,
        149491,  151957,  154376,  156749,  159079,  161368,  163618,  165831,  168008,  170152,  172263,  174342,  176392,  178413,  180407,  182374,
        184315,  186232,  188125,  189995,  191842,  193668,  197259,  200771,  204210,  207580,  210884,  214126,  217308,  220435,  223509,  226532,
        229506,  232434,  235318,  238159,  240959,  243720,  246443,  249130,  251782,  254400,  256986,  259540,  262064,  264559,  267025,  269464,
        271876,  274262,  276623,  278960,  281273,  283562,  288076,  292504,  296852,  301124,  305323,  309452,  313515,  317515,  321454,  325335,
        329160,  332931,  336651,  340322,  343945,  347521,  351054,  354543,  357991,  361399,  364767,  368099,  371394,  374653,  377878,  381070,
        384230,  387358,  390456,  393523,  396562,  399573,  405512,  411348,  417083,  422724,  428274,  433738,  439119,  444420,  449646,  454798,
        459880,  464894,  469842,  474728,  479554,  484320,  489030,  493685,  498287,  502838,  507339,  511791,  516197,  520557,  524874,  529147,
        533378,  537569,  541720,  545833,  549908,  553946,  557949,  561917,  565852,  569753,  577458,  585040,  592504,  599854,  607096,  614234,
        621272,  628214,  635064,  641824,  648498,  655090,  661601,  668035,  674394,  680681,  686897,  693045,  699128,  705146,  711103,  716999,
        722836,  728616,  734341,  740012,  745630,  751197,  756713,  762181,  767602,  778305,  788831,  799189,  809384,  819425,  829318,  839069,
        848683,  858166,  867523,  876757,  885875,  894879,  903774,  912563,  921249,  938329,  955037,  971395,  987423, 1003139, 1018560, 1033701,
        1048575
    }
};


static const ISP_CMOS_SHARPEN_S g_stIspYuvSharpen = {
    /* u8SkinUmin */
    100,
    /* u8SkinVmin */
    135,
    /* u8SkinUmax */
    128,
    /* u8SkinVmax */
    150,
    /* Manual Para */
    {
        /* au8LumaWgt                           */
        {31, 31, 31, 31,   31, 31, 31, 31,   31, 31, 31, 31,   31, 31, 31, 31,  31, 31, 31, 31,   31, 31, 31, 31,   31, 31, 31, 31,   31, 31, 31, 31},
        /* u16TextureStr */
        {400, 420, 390, 390,    390, 390, 390, 370,    350, 330, 310, 290,  270, 270, 270, 270,    270, 270, 266, 260,   244, 230, 230, 230,   230, 230, 230, 210,   190, 190, 170, 150},
        /* u16EdgeStr */
        {120,   123,   125,     128,    130,    135,    140,    148,    160,    168,    180,    190,    200,    210,    210,    210, 210,   210,   200,   190,   185,   175,   165,   160,   146,   136,   130,  128,   125,    123,  120,  120},
        /* u16TextureFreq; */
        180,
        /* u16EdgeFreq; */
        100,
        /* u8OverShoot; */
        55,
        /* u8UnderShoot; */
        70,
        /* u8shootSupStr; */
        8,
        /* u8shootSupAdj; */
        9,
        /* u8DetailCtrl; */
        128,
        /* u8DetailCtrlThr; */
        180,
        /* u8EdgeFiltStr; */
        60,
        /*u8EdgeFiltMaxCap; */
        18,
        /*u8RGain; */
        28,
        /* u8GGain; */
        32,
        /* u8BGain; */
        31,
        /* u8SkinGain; */
        23,
        /* u8MaxSharpGain; */
        160
    },
    /* Auto Para */
    {
        /* au16LumaWgt */
        /* ISO */
        /* 100,    200,      400,     800,    1600,     3200,     6400,     12800,    25600,   51200,  102400,   204800,   409600,   819200,   1638400,  3276800 */
        {   {   31,      31,      31,      20,      15,      15,      15,      15,      15,      15,      15,      15,      15,      15,      15,      15  },
            {   31,      31,      31,      20,      15,      15,      15,      15,      15,      15,      15,      15,      15,      15,      15,      15  },
            {   31,      31,      31,      20,      15,      15,      15,      15,      15,      15,      15,      15,      15,      15,      15,      15  },
            {   31,      31,      31,      20,      15,      15,      15,      15,      15,      15,      15,      15,      15,      15,      15,      15  },
            {   31,      31,      31,      20,      15,      15,      15,      15,      15,      15,      15,      15,      15,      15,      15,      15  },
            {   31,      31,      31,      20,      17,      15,      15,      15,      15,      15,      15,      15,      15,      15,      15,      15  },
            {   31,      31,      31,      20,      20,      18,      18,      18,      18,      18,      18,      18,      18,      18,      18,      18  },
            {   31,      31,      31,      23,      23,      21,      21,      21,      21,      21,      21,      21,      21,      21,      21,      21  },
            {   31,      31,      31,      25,      25,      25,      25,      25,      25,      25,      25,      25,      25,      25,      25,      25  },
            {   31,      31,      31,      28,      28,      28,      28,      28,      28,      28,      28,      28,      28,      28,      28,      28  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   28,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   23,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   23,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   23,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   23,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   23,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   23,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   23,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   23,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   23,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   23,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   23,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   23,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   23,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   23,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   23,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   23,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  }
        },
        /* au16TextureStr  */
        /* ISO */
        /* 100,    200,      400,     800,    1600,     3200,     6400,     12800,    25600,   51200,  102400,   204800,   409600,   819200,   1638400,  3276800 */
        {   {  400,     320,     300,     220,     100,     100,     100,     100,     100,     100,     100,     100,    100,     100,     100,     100  },
            {  420,     410,     400,     270,     200,     200,     200,     200,     100,     100,     100,     100,    100,     100,     100,     100  },
            {  390,     390,     390,     420,     300,     300,     400,     300,     200,     200,     200,     200,    200,     200,     200,     200  },
            {  390,     380,     370,     390,     400,     350,     400,     300,     300,     300,     200,     200,    200,     200,     200,     200  },
            {  390,     370,     350,     370,     320,     350,     350,     400,     400,     400,     200,     200,    200,     200,     200,     200  },
            {  390,     360,     325,     340,     260,     300,     300,     400,     400,     400,     200,     200,    200,     200,     200,     200  },
            {  390,     350,     300,     300,     230,     300,     300,     400,     400,     400,     300,     300,    300,     300,     300,     300  },
            {  370,     340,     300,     270,     230,     300,     300,     400,     400,     400,     300,     300,    300,     300,     300,     300  },
            {  350,     330,     300,     270,     230,     300,     300,     400,     400,     400,     300,     300,    300,     300,     300,     300  },
            {  330,     300,     285,     270,     230,     300,     300,     400,     400,     400,     300,     300,    300,     300,     300,     300  },
            {  310,     290,     270,     270,     230,     300,     300,     300,     400,     400,     300,     300,    300,     300,     300,     300  },
            {  290,     270,     270,     270,     230,     300,     300,     300,     400,     400,     300,     300,    300,     300,     300,     300  },
            {  270,     270,     270,     270,     230,     300,     300,     300,     400,     400,     300,     300,    300,     300,     300,     300  },
            {  270,     270,     270,     270,     230,     350,     350,     350,     400,     400,     300,     300,    300,     300,     300,     300  },
            {  270,     270,     270,     270,     250,     400,     400,     400,     400,     400,     300,     300,    300,     300,     300,     300  },
            {  270,     270,     270,     270,     270,     450,     450,     450,     400,     400,     300,     300,    300,     300,     300,     300  },
            {  270,     270,     270,     270,     270,     500,     500,     500,     400,     400,     300,     300,    300,     300,     300,     300  },
            {  270,     270,     270,     270,     270,     300,     500,     500,     400,     400,     300,     300,    300,     300,     300,     300  },
            {  266,     266,     266,     266,     270,     300,     500,     500,     400,     400,     300,     300,    300,     300,     300,     300  },
            {  260,     260,     260,     260,     270,     300,     500,     500,     400,     400,     300,     300,    300,     300,     300,     300  },
            {  244,     244,     244,     244,     270,     300,     500,     500,     400,     400,     300,     300,    300,     300,     300,     300  },
            {  240,     240,     240,     240,     270,     300,     500,     500,     400,     400,     300,     300,    300,     300,     300,     300  },
            {  230,     230,     230,     230,     270,     300,     500,     500,     400,     400,     300,     300,    300,     300,     300,     300  },
            {  230,     230,     230,     230,     270,     300,     500,     500,     400,     400,     300,     300,    300,     300,     300,     300  },
            {  230,     230,     230,     230,     270,     300,     500,     500,     400,     400,     300,     300,    300,     300,     300,     300  },
            {  230,     230,     230,     230,     250,     300,     500,     500,     400,     400,     300,     300,    300,     300,     300,     300  },
            {  230,     230,     230,     230,     230,     300,     500,     500,     400,     400,     300,     300,    300,     300,     300,     300  },
            {  230,     230,     230,     230,     230,     300,     500,     600,     400,     400,     300,     300,    300,     300,     300,     300  },
            {  210,     230,     230,     230,     220,     300,     500,     600,     400,     400,     300,     300,    300,     300,     300,     300  },
            {  190,     230,     230,     230,     220,     300,     500,     600,     400,     400,     300,     300,    300,     300,     300,     300  },
            {  170,     230,     230,     230,     220,     300,     500,     600,     400,     400,     300,     300,    300,     300,     300,     300  },
            {  150,     230,     230,     230,     220,     300,     500,     600,     400,     400,     300,     300,    300,     300,     300,     300  }
        },
        /* au16EdgeStr     */
        /* ISO */
        /* 100,    200,     400,      800,     1600,     3200,     6400,     12800,   25600,    51200,   102400,   204800,   409600,   819200,   1638400,  3276800 */
        {   {  350,     350,     350,     340,     200,     200,     200,     200,     200,     300,     300,     300,     300,     300,     300,     300  },
            {  350,     350,     350,     340,     200,     200,     200,     200,     200,     300,     300,     300,     300,     300,     300,     300  },
            {  350,     350,     350,     340,     200,     200,     200,     200,     200,     300,     300,     300,     300,     300,     300,     300  },
            {  356,     356,     356,     340,     200,     200,     200,     200,     200,     300,     300,     300,     300,     300,     300,     300  },
            {  360,     360,     360,     340,     200,     200,     200,     200,     200,     300,     300,     300,     300,     300,     300,     300  },
            {  370,     370,     370,     340,     220,     200,     200,     200,     200,     300,     300,     300,     300,     300,     300,     300  },
            {  375,     375,     375,     340,     240,     220,     220,     220,     220,     300,     300,     300,     300,     300,     300,     300  },
            {  390,     390,     390,     340,     260,     240,     220,     220,     220,     300,     300,     300,     300,     300,     300,     300  },
            {  410,     410,     410,     340,     280,     260,     220,     220,     220,     300,     300,     300,     300,     300,     300,     300  },
            {  440,     440,     440,     340,     300,     280,     220,     270,     300,     330,     330,     330,     330,     330,     330,     330  },
            {  446,     446,     446,     340,     320,     300,     220,     300,     350,     370,     370,     370,     370,     370,     370,     370  },
            {  450,     450,     450,     340,     340,     320,     220,     350,     400,     400,     400,     400,     400,     400,     400,     400  },
            {  450,     450,     450,     340,     340,     340,     220,     400,     450,     400,     400,     400,     400,     400,     400,     400  },
            {  450,     450,     450,     360,     340,     340,     240,     400,     500,     400,     400,     400,     400,     400,     400,     400  },
            {  450,     450,     450,     380,     340,     340,     260,     400,     500,     400,     400,     400,     400,     400,     400,     400  },
            {  450,     450,     450,     400,     360,     340,     280,     400,     500,     400,     400,     400,     400,     400,     400,     400  },
            {  450,     450,     450,     420,     380,     360,     300,     450,     500,     400,     400,     400,     400,     400,     400,     400  },
            {  446,     446,     446,     420,     400,     380,     300,     500,     500,     400,     400,     400,     400,     400,     400,     400  },
            {  440,     440,     440,     420,     420,     400,     300,     500,     500,     400,     400,     400,     400,     400,     400,     400  },
            {  430,     430,     430,     420,     420,     400,     300,     500,     500,     400,     400,     400,     400,     400,     400,     400  },
            {  410,     410,     410,     420,     420,     400,     300,     500,     500,     400,     400,     400,     400,     400,     400,     400  },
            {  380,     380,     380,     420,     420,     400,     300,     500,     500,     430,     430,     430,     430,     430,     430,     430  },
            {  340,     340,     340,     400,     420,     500,     300,     500,     500,     470,     470,     470,     470,     470,     470,     470  },
            {  290,     290,     290,     380,     400,     500,     300,     500,     500,     500,     500,     500,     500,     500,     500,     500  },
            {  250,     250,     250,     360,     380,     500,     300,     500,     500,     500,     500,     500,     500,     500,     500,     500  },
            {  220,     220,     220,     340,     360,     500,     300,     500,     500,     500,     500,     500,     500,     500,     500,     500  },
            {  200,     200,     200,     320,     360,     500,     300,     500,     500,     500,     500,     500,     500,     500,     500,     500  },
            {  190,     190,     190,     300,     340,     500,     300,     500,     500,     500,     500,     500,     500,     500,     500,     500  },
            {  186,     186,     186,     290,     310,     500,     300,     500,     500,     500,     500,     500,     500,     500,     500,     500  },
            {  180,     180,     180,     290,     270,     500,     300,     500,     500,     500,     500,     500,     500,     500,     500,     500  },
            {  170,     170,     170,     270,     260,     500,     300,     500,     500,     500,     500,     500,     500,     500,     500,     500  },
            {  150,     150,     150,     270,     250,     500,     300,     500,     500,     500,     500,     500,     500,     500,     500,     500  }
        },
        /* au16TextureFreq                           */
        /* ISO */
        /* 100,      200,    400,     800,    1600,      3200,    6400,     12800,     25600,  51200,   102400,  204800,   409600,   819200,   1638400,  3276800 */
        {180,    170,    160,     160,    160,    160,    128,    128,    128,    128,    128,    100,    100,    100,    100,    100 },
        /* au16EdgeFreq                              */
        /* ISO */
        /* 100,     200,    400,     800,      1600,      3200,    6400,     12800,       25600,      51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        {100,  100,   100,    100,    100,    100,    100,    100,    100,    100,    96,    96,    96,    96,    96,    96},
        /* au8OverShoot                              */
        /* ISO */
        /* 100,  200,    400,     800,      1600,    3200,       6400,    12800,    25600,   51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        {55,     65,     80,      80,     75,    55,     40,   30,    30,     30,     30,     10,     10,     10,     10,     10},
        /* au8UnderShoot                             */
        /* ISO */
        /* 100,  200,    400,     800,    1600,    3200,    6400,    12800,    25600,   51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        {70,     80,     90,      90,     80,    70,     50,     50,   45,   45,    40,    20,     15,    15,    15,    15 },
        /* au8ShootSupStr                           */
        /* ISO */
        /* 100,    200,           400,           800,       1600,          3200,           6400,          12800,   25600,         51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        {  10,    10,    10,     10,    10,    10,    10,    9,   8,    0,   0,    0,    0,    0,    0,   0},
        /* au8ShootSupAdj                           */
        /* ISO */
        /* 100,    200,           400,           800,       1600,          3200,           6400,          12800,   25600,         51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        {  9,     9,      9,       9,    9,     9,    9,    8,   8,    0,   0,    0,    0,    0,    0,   0},
        /* au8DetailCtrl                          */
        /* ISO */
        /* 100,   200,     400,    800,     1600,     3200,          6400,         12800,         25600,      51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        {128,    128,    128,     128,    128,    128,    128,    128,    128,     128,    120,    120,    120,    120,    120,    120 },
        /* au8DetailCtrlThr                          */
        /* ISO */
        /* 100,    200,          400,           800,        1600,           3200,          6400,         12800,     25600,         51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        {  160,  160,      160,      160,    160,       160,       160,       160,   160,       160,   160,    160,    160,    160,      160,    160},
        /* au8EdgeFiltStr                          */
        /* ISO */
        /* 100,   200,     400,    800,     1600,     3200,    6400,      12800,      25600,     51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        { 58,   58,    60,  62,    62,   62,    62,    62,      62,   62,    62,    62,    62,    62,    62,   62 },
        /* au8EdgeFiltMaxCap */
        /* ISO */
        /* 100,   200,     400,    800,     1600,     3200,    6400,      12800,      25600,     51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        { 18,   18,    18,  18,    18,   18,    18,    18,      18,   18,    18,    18,    18,    18,    18,   18 },
        /* au8RGain           */
        /* ISO */
        /* 100,    200,          400,           800,        1600,           3200,          6400,         12800,     25600,         51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        {28,     28,       31,       31,     31,        31,        31,        31,    31,        31,    31,     31,     31,     31,       31,     31},
        /* au8GGain                          */
        /* ISO */
        /* 100,    200,          400,           800,        1600,           3200,          6400,         12800,     25600,         51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        {32,     32,       32,       32,     32,        32,        32,        32,    32,        32,    32,     32,     32,     32,       32,     32},
        /* au8BGain                          */
        /* ISO */
        /* 100,    200,          400,           800,        1600,           3200,          6400,         12800,     25600,         51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        {28,     31,       31,       31,     31,        31,        31,        31,    31,        31,    31,     31,     31,     31,       31,     31},
        /* au8SkinGain                          */
        /* ISO */
        /* 100,    200,          400,           800,        1600,           3200,          6400,         12800,     25600,         51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        {23,     27,       31,       31,     31,        31,        31,        31,    31,        31,    31,     31,     31,     31,       31,     31},
        /* u8MaxSharpGain                          */
        /* ISO */
        /* 100,    200,          400,           800,        1600,           3200,          6400,         12800,     25600,         51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        {   160,   160,       160,       160,     160,        160,        160,        160,    160,        160,    160,     160,     160,     160,       160,     160}
    },
};

static const ISP_CMOS_SHARPEN_S g_stIspYuvSharpenWdr = {
    /* u8SkinUmin */
    100,
    /* u8SkinVmin */
    135,
    /* u8SkinUmax */
    128,
    /* u8SkinVmax */
    150,
    /* Manual Para */
    {
        /* au8LumaWgt                           */
        {31, 31, 31, 31,   31, 31, 31, 31,   31, 31, 31, 31,   31, 31, 31, 31,  31, 31, 31, 31,   31, 31, 31, 31,   31, 31, 31, 31,   31, 31, 31, 31},
        /* u16TextureStr */
        {140,   140,   140,     140,    140,    140,    140,    140,    140,    140,    140,    140,    140,    140,    140,    140, 140,   140,   140,   140,   140,   140,   140,   140,   140,   140,   140,  140,   140,    140,  140,  140},
        /* u16EdgeStr */
        {150,   150,   150,     150,    150,    150,    150,    150,    150,    150,    150,    150,    150,    150,    150,    150, 150,   150,   150,   150,   150,   150,   150,   150,   150,   150,   150,  150,   150,    150,  150,  150},
        /* u16TextureFreq; */
        256,
        /* u16EdgeFreq; */
        100,
        /* u8OverShoot; */
        65,
        /* u8UnderShoot; */
        70,
        /* u8shootSupStr; */
        8,
        /* u8shootSupAdj; */
        9,
        /* u8DetailCtrl; */
        128,
        /* u8DetailCtrlThr; */
        180,
        /* u8EdgeFiltStr; */
        62,
        /*u8EdgeFiltMaxCap; */
        18,
        /*u8RGain; */
        31,
        /* u8GGain; */
        32,
        /* u8BGain; */
        31,
        /* u8SkinGain; */
        31,
        /* u8MaxSharpGain; */
        160
    },
    /* Auto Para */
    {
        /* au16LumaWgt */
        /* ISO */
        /* 100,    200,      400,     800,    1600,     3200,     6400,     12800,    25600,   51200,  102400,   204800,   409600,   819200,   1638400,  3276800 */
        {   {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  },
            {   31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31,      31  }
        },
        /* au16TextureStr  */
        /* ISO */
        /* 100,  200,      400,     800,      1600,      3200,    6400,    12800,    25600,   51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        {   {140,    140,    60,     30,    20,     15,     0,     0,    0,     0,     0,     0,     0,     0,     0,     0  },
            {140,    140,    62,     32,    22,     17,     0,     0,    0,     0,     0,     0,     0,     0,     0,     0  },
            {140,    140,    65,     35,    26,     20,     4,     0,    0,     0,     0,     0,     0,     0,     0,     0  },
            {160,    160,    67,     37,    30,     24,     6,     0,    0,     0,     0,     0,     0,     0,     0,     0  },
            {175,    175,    70,     40,    33,     27,     8,     0,    0,     0,     0,     0,     0,     0,     0,     0  },
            {190,    190,    74,     44,    36,     32,     12,     0,    0,     0,     0,     0,     0,     0,     0,     0  },
            {205,    205,    80,     50,    42,     36,     18,     0,    0,     0,     0,     0,     0,     0,     0,     0  },
            {220,    220,    86,     56,    48,     38,     20,     2,    0,     0,     0,     0,     0,     0,     0,     0  },
            {230,    230,    90,     60,    53,     42,     22,     6,    0,     0,     0,     0,     0,     0,     0,     0  },
            {230,    230,    100,     70,     60,     50,     25,     10,    2,      2,     2,     2,     2,     2,     2,     2  },
            {230,    230,    120,     76,     70,     56,     30,     12,    6,      6,     6,     6,     6,     6,     6,     6  },
            {230,    230,    135,     80,     72,     60,     34,     16,    10,     10,     10,     10,     10,     10,     10,     10 },
            {230,    230,    150,     84,     78,     70,     38,     22,    14,     14,     14,     14,     14,     14,     14,     14 },
            {230,    230,    160,     87,     82,     78,     40,     25,    16,     16,     16,     16,     16,     16,     16,     16 },
            {230,    230,    165,     90,     88,     86,     44,     30,    20,     20,     20,     20,     20,     20,     20,     20 },
            {230,    230,    170,     90,    90,     90,     50,     30,    20,     20,     20,     20,     20,     20,     20,     20 },
            {230,    230,    170,     90,    90,     90,     50,     30,    20,     20,     20,     20,     20,     20,     20,     20 },
            {230,    230,    170,     90,    90,     90,     50,     30,    20,     20,     20,     20,     20,     20,     20,     20 },
            {230,    230,    168,     90,    88,     88,     50,     30,    20,     20,     20,     20,     20,     20,     20,     20 },
            {230,    230,    165,     88,    86,     82,     48,     28,    18,     18,     18,     18,     18,     18,     18,     18 },
            {230,    230,    162,     82,    80,     76,     42,     22,    12,     12,     12,     12,     12,     12,     12,     12 },
            {230,    230,    160,     77,    75,     72,     38,     18,    10,     10,     10,     10,     10,     10,     10,     10 },
            {230,    230,    155,     76,    70,     64,     35,     15,    8,     8,     8,     8,     8,     8,     8,     8  },
            {230,    230,    150,     70,    62,     56,     30,     12,    6,     6,     6,     6,     6,     6,     6,     6  },
            {230,    230,    130,     68,    63,     52,     28,     10,    4,      4,     4,     4,     4,     4,     4,     4  },
            {230,    230,    110,     66,    55,     40,     25,     8,    2,     2,     2,     2,     2,     2,     2,     2  },
            {230,    230,    85,     63,    50,     36,     20,     5,    2,     2,     2,     2,     2,     2,     2,     2  },
            {230,    230,    60,     60,    45,     34,     18,     5,    2,     2,     2,     2,     2,     2,     2,     2  },
            {230,    230,    50,     50,    40,     30,     15,     5,    2,     2,     2,     2,     2,     2,     2,     2  },
            {230,    230,    40,     40,    30,     26,     12,     5,    2,     2,     2,     2,     2,     2,     2,     2  },
            {230,    230,    35,     35,    30,     22,     10,     5,    2,     2,     2,     2,     2,     2,     2,     2  },
            {230,    230,    30,     30,    26,     20,     10,     5,    2,     2,     2,     2,     2,     2,     2,     2  }
        },
        /* au16EdgeStr     */
        /* ISO */
        /* 100,   200,     400,      800,     1600,      3200,     6400,     12800,    25600,    51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        {   {220,    220,    150,     150,    160,     180,     180,     180,    100,     60,     50,     50,     50,     50,     50,     50 },
            {220,    220,    148,     150,    160,     180,     180,     180,    100,     60,     50,     50,     50,     50,     50,     50 },
            {220,    220,    145,     150,    160,     180,     180,     180,    100,     60,     50,     50,     50,     50,     50,     50 },
            {220,    220,    142,     150,    160,     180,     180,     180,    100,     60,     50,     50,     50,     50,     50,     50 },
            {220,    220,    140,     150,    160,     180,     180,     180,    100,     60,     50,     50,     50,     50,     50,     50 },
            {220,    220,    136,     150,    160,     180,     180,     180,    100,     60,     50,     50,     50,     50,     50,     50 },
            {220,    220,    130,     148,    163,     180,     180,     180,    100,     60,     50,     50,     50,     50,     50,     50 },
            {220,    220,    124,     144,    168,     180,     180,     180,    100,     60,     50,     50,     50,     50,     50,     50 },
            {220,    220,    118,     142,    170,     186,     186,     186,    106,     60,     50,     50,     50,     50,     50,     50 },
            {220,    220,    110,     140,    172,     190,     190,     190,    110,     60,     50,     50,     50,     50,     50,     50 },
            {220,    220,    106,     136,    176,     194,     194,     194,    124,     60,     50,     50,     50,     50,     50,     50 },
            {220,    220,    100,     150,    180,     200,     200,     200,    130,     60,     50,     50,     50,     50,     50,     50 },
            {220,    220,    100,     160,    184,     202,     202,     202,    132,     60,     50,     50,     50,     50,     50,     50 },
            {220,    220,    100,     170,    190,     206,     206,     206,    136,     60,     50,     50,     50,     50,     50,     50 },
            {220,    220,    100,     190,    198,     212,     212,     212,    142,     60,     50,     50,     50,     50,     50,     50 },
            {220,    220,    100,     200,    212,     220,     220,     220,    140,     60,     50,     50,     50,     50,     50,     50 },
            {220,    220,    100,     200,    215,     226,     226,     226,    146,     60,     50,     50,     50,     50,     50,     50 },
            {220,    220,    100,     200,    218,     230,     230,     230,    150,     60,     50,     50,     50,     50,     50,     50 },
            {220,    220,    100,     196,    220,     230,     230,     230,    150,     60,     50,     50,     50,     50,     50,     50 },
            {220,    220,    100,     180,    220,     230,     230,     230,    150,     60,     50,     50,     50,     50,     50,     50 },
            {220,    220,    100,     170,    220,     228,     228,     228,    138,     60,     50,     50,     50,     50,     50,     50 },
            {220,    220,    100,     165,    210,     220,     220,     220,    130,     60,     50,     50,     50,     50,     50,     50 },
            {220,    220,    100,     160,    202,     210,     210,     210,    120,     60,     50,     50,     50,     50,     50,     50 },
            {220,    220,    100,     150,    180,     190,     190,     190,    100,     60,     50,     50,     50,     50,     50,     50 },
            {220,    220,    100,     130,    145,     160,     160,     160,    90,     60,     50,     50,     50,     50,     50,     50 },
            {220,    220,    100,     105,    130,     145,     145,     145,    75,     60,     50,     50,     50,     50,     50,     50 },
            {220,    220,    100,     100,    120,     130,     130,     130,    60,     60,     50,     50,     50,     50,     50,     50 },
            {220,    220,    100,     90,    96,      100,     100,     100,    50,      50,     50,     50,     50,     50,     50,     50 },
            {220,    220,    100,     70,    76,      80,     80,     80,    40,     40,     40,     40,     40,     40,     40,     40 },
            {220,    220,    100,     56,    53,      50,     50,     50,    30,     30,     30,     30,     30,     30,     30,     30 },
            {220,    220,    100,     36,    32,     30,     30,     30,    25,     25,     25,     25,     25,     25,     25,     25 },
            {220,    220,    100,     30,     26,     20,      20,      20,    20,     20,     20,     20,     20,     20,     20,     20 }
        },
        /* au16TextureFreq                           */
        /* ISO */
        /* 100,   200,     400,      800,     1600,     3200,     6400,     12800,     25600,    51200,   102400,  204800,   409600,   819200,   1638400,  3276800 */
        {256,    256,    256,     160,    160,    160,    200,    160,    150,    130,    128,    128,    128,    128,    128,    128 },
        /* au16EdgeFreq                              */
        /* ISO */
        /* 100,  200,    400,     800,    1600,    3200,    6400,    12800,    25600,   51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        {100,   100,   148,    96,    96,    96,    96,    96,    96,    96,    96,    96,    96,    96,    96,    96},
        /* au8OverShoot                              */
        /* ISO */
        /* 100,  200,    400,     800,    1600,    3200,    6400,    12800,    25600,   51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        {65,     65,     70,      70,     70,     70,     55,     55,    35,     30,     20,     10,     10,     10,     10,     10},
        /* au8UnderShoot                             */
        /* ISO */
        /* 100,  200,    400,     800,    1600,    3200,    6400,    12800,    25600,   51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        {70,     70,     80,      80,     80,     80,     60,     60,    45,     40,    30,    20,     15,    15,    15,    15 },
        /* au16shootSupStr                           */
        /* ISO */
        /* 100,    200,           400,           800,       1600,          3200,           6400,          12800,   25600,         51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        {  9,    10,     9,     7,    6,    5,    5,    4,   0,    0,   0,    0,    0,    0,    0,   0},
        /* au8ShootSupAdj                           */
        /* ISO */
        /* 100,    200,           400,           800,       1600,          3200,           6400,          12800,   25600,         51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        {  6,     9,      7,       7,    5,     2,    1,    1,   0,    0,   0,    0,    0,    0,    0,   0},
        /* au8DetailCtrl                          */
        /* ISO */
        /* 100,  200,    400,     800,    1600,    3200,    6400,    12800,    25600,   51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        {128,    128,    128,     128,    128,    128,    128,    128,    128,    128,    128,    128,    128,    128,    128,    128 },
        /* au8DetailCtrlThr                          */
        /* ISO */
        /* 100,    200,          400,           800,        1600,           3200,          6400,         12800,     25600,         51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        {  160,  160,      160,      160,    160,       160,       160,       160,   160,       160,   160,    160,    160,    160,      160,    160},
        /* au8EdgeFiltStr                          */
        /* ISO */
        /* 100,   200,     400,    800,     1600,     3200,    6400,      12800,      25600,     51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        { 62,   62,    62,  62,    62,   62,    62,    62,      62,   62,    62,    62,    62,    62,    62,   62 },
        /*au8EdgeFiltMaxCap[ISP_AUTO_ISO_STRENGTH_NUM];*/
        /* ISO */
        /* 100,   200,     400,    800,     1600,     3200,    6400,      12800,      25600,     51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        { 18,   18,    18,  18,    18,   18,    18,    18,      18,   18,    18,    18,    18,    18,    18,   18 },
        /*au8RGain[ISP_AUTO_ISO_STRENGTH_NUM];                          */
        /* ISO */
        /* 100,  200,    400,     800,    1600,    3200,    6400,    12800,    25600,   51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        { 31,     31,     31,      31,     31,     31,     31,     31,     31,     31,     31,     31,     31,     31,     31,     31 },
        /* au8GGain                          */
        /* ISO */
        /* 100,  200,    400,     800,    1600,    3200,    6400,    12800,    25600,   51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        {   32,       32,       32,       32,       32,        32,      32,      32,        32,      32,     32,      32,      32,     32,       32,     32},
        /* au8BGain                          */
        /* ISO */
        /* 100,  200,    400,     800,    1600,    3200,    6400,    12800,    25600,   51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        { 31,     31,     31,      31,     31,     31,     31,     31,     31,     31,     31,     31,     31,     31,     31,     31 },
        /* au8SkinGain                          */
        /* ISO */
        /* 100,  200,    400,     800,    1600,    3200,    6400,    12800,    25600,   51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        { 31,     31,     31,      31,     31,     31,     31,     31,     31,     31,     31,     31,     31,     31,     31,     31 },
        /* u8MaxSharpGain                          */
        /* ISO */
        /* 100,    200,          400,           800,        1600,           3200,          6400,         12800,     25600,         51200,  102400,  204800,   409600,   819200,   1638400,  3276800 */
        {   160,   160,       160,       160,     160,        160,        160,        160,    160,        160,    160,     160,     160,     160,       160,     160}
    },
};

static AWB_CCM_S g_stAwbCcm = {
    3,
    {
        {
            4900,
            {
                0x0211,  0x8108,  0x8009,
                0x8041,  0x17E,   0x803D,
                0xA,     0x80A3,  0x0199,
            },
        },
        {
            3850,
            {
                0x01F5,  0x80F4,  0x8001,
                0x8064,  0x0187,  0x8023,
                0x5,     0x80A6,  0x01A1

            },
        },
        {
            2650,
            {
                0x01D4,  0x80D6,  0x2,
                0x8073,  0x017B,  0x8008,
                0x8001,  0x810C,  0x020D,
            },
        },
        {
            2100,
            {
                0x0100,  0x0000,  0x0000,
                0x0000,  0x0100,  0x0000,
                0x0000,  0x0000,  0x0100
            },
        },
        {
            1600,
            {
                0x0100,  0x0000,  0x0000,
                0x0000,  0x0100,  0x0000,
                0x0000,  0x0000,  0x0100
            },
        },
        {
            1400,
            {
                0x0100,  0x0000,  0x0000,
                0x0000,  0x0100,  0x0000,
                0x0000,  0x0000,  0x0100
            },
        },
        {
            1000,
            {
                0x0100,  0x0000,  0x0000,
                0x0000,  0x0100,  0x0000,
                0x0000,  0x0000,  0x0100
            },
        },
    },
};

static AWB_CCM_S g_stAwbCcmFsWdr = {
    3,
    {
        {
            4900,
            {
                0x0183,  0x8073,  0x8010,
                0x8052,  0x019d,  0x804b,
                0x8018,  0x80a9,  0x01c1
            },
        },
        {
            3850,
            {
                0x018d,  0x808c,  0x8001,
                0x805e,  0x018e,  0x8030,
                0x800d,  0x80df,  0x01ec
            },
        },
        {
            2650,
            {
                0x01d3,  0x8097,  0x803c,
                0x805f,  0x01e6,  0x8087,
                0x80a7,  0x807f,  0x0226
            },
        },
        {
            2100,
            {
                0x0100,  0x0000,  0x0000,
                0x0000,  0x0100,  0x0000,
                0x0000,  0x0000,  0x0100
            },
        },
        {
            1600,
            {
                0x0100,  0x0000,  0x0000,
                0x0000,  0x0100,  0x0000,
                0x0000,  0x0000,  0x0100
            },
        },
        {
            1400,
            {
                0x0100,  0x0000,  0x0000,
                0x0000,  0x0100,  0x0000,
                0x0000,  0x0000,  0x0100
            },
        },
        {
            1000,
            {
                0x0100,  0x0000,  0x0000,
                0x0000,  0x0100,  0x0000,
                0x0000,  0x0000,  0x0100
            },
        },
    },
};

static AWB_AGC_TABLE_S g_stAwbAgcTable = {
    /* bvalid */
    1,

    /* 1,  2,  4,  8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768 */
    /* saturation */
    {0x80, 0x7a, 0x78, 0x74, 0x68, 0x60, 0x58, 0x50, 0x48, 0x40, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38}
};

static AWB_AGC_TABLE_S g_stAwbAgcTableFSWDR = {
    /* bvalid */
    1,

    /* saturation */
    {0x78, 0x78, 0x6e, 0x64, 0x5E, 0x58, 0x50, 0x48, 0x40, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38}
};

static const ISP_CMOS_WDR_S g_stIspWDR = {
    /* bFusionMode */
    0,

    /* bMotionComp */
    1,

    /* u16ShortThr */
    4032,

    /* u16LongThr */
    3008,

    /* bForceLong */
    1,

    /* u16ForceLongLowThr */
    500,

    /* u16ForceLongHigThr */
    700,

    /* bShortExpoChk */
    0,

    /* u16ShortCheckThd */
    0x8,

    /* au8MdThrLowGain[16] */
    {16, 16, 16, 16, 16, 16, 16, 64, 128, 255, 255, 255, 255, 255, 255, 255},

    /* au8MdThrHigGain[16] */
    {24, 24, 24, 24, 24, 24, 24, 128, 128, 255, 255, 255, 255, 255, 255, 255},

    /* au16FusionThr[2] */
    {3855, 3000},

    /* u8MdtStillThd */
    0x14,

    /* u8MdtLongBlend */
    0x0
};

static const ISP_CMOS_DEHAZE_S g_stIspDehaze = {
    /* bEnable */
    0,
    /* bUserLutEnable */
    0,
    /* enOpType */
    0,
    /* u8AutoStrength */
    128,
    /* u8ManualStrength */
    128

};

static const ISP_CMOS_DEHAZE_S g_stIspDehazeWDR = {
    /* bEnable */
    0,
    /* bUserLutEnable */
    1,
    /* enOpType */
    0,
    /* u8AutoStrength */
    100,
    /* u8ManualStrength */
    128
};


static const ISP_CMOS_DRC_S g_stIspDRC = {
    /* bEnable */
    0,
    /* enOpType */
    0,
    /* u16ManualStrength */
    512,
    /* u16AutoStrength */
    512,
    /* u8SpatialFltCoef */
    2,
    /* u8RangeFltCoef */
    2,
    /* u8ContrastControl */
    8,
    /* s8DetailAdjustFactor */
    0,
    /* u8RangeAdaMax */
    8,
    /* u8FltScaleFine */
    6,
    /* u8FltScaleCoarse */
    6,
    /* u8GradRevMax */
    64,
    /* u8GradRevThr */
    50,
    /* u8BrightGainLmt */
    15,
    /* u8BrightGainLmtStep */
    10,
    /* u8DarkGainLmtY */
    0,
    /* u8DarkGainLmtC */
    0,
    /* u8PDStrength */
    35,
    /* u8LocalMixingBrightMax */
    64,
    /* u8LocalMixingBrightMin */
    32,
    /* u8LocalMixingBrightThr */
    96,
    /* s8LocalMixingBrightSlo */
    -3,
    /* u8LocalMixingDarkMax */
    64,
    /* u8LocalMixingDarkMin */
    32,
    /* u8LocalMixingDarkThr */
    96,
    /* s8LocalMixingDarkSlo */
    5,
    /* ColorCorrectionLut[33] */
    {1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024},
    /* ToneMappingValue[200] */
    {8, 8, 16, 24, 31, 39, 48, 56, 65, 75, 85, 95, 106, 118, 130, 143, 156, 170, 185, 201, 218, 235, 254, 274, 294, 316, 339, 364, 390, 417, 446, 477, 509, 543, 579, 617, 658, 701, 746, 794, 844, 898, 955, 1015, 1078, 1145, 1216,
     1291, 1370, 1454, 1543, 1637, 1736, 1841, 1952, 2069, 2194, 2325, 2465, 2612, 2767, 2932, 3106, 3290, 3485, 3691, 3909, 4140, 4384, 4641, 4914, 5202, 5507, 5830, 6171, 6531, 6913, 7316, 7742, 8193, 8669, 9173, 9705, 10268,
     10863, 11492, 12145, 12808, 13483, 14171, 14872, 15587, 16319, 17069, 17840, 18635, 19458, 19881, 20313, 20754, 21204, 21661, 22122, 22586, 23053, 23525, 24000, 24480, 24965, 25455, 25950, 26451, 26959, 27473, 27995, 28524,
     29062, 29609, 30165, 30732, 31309, 31899, 32501, 33116, 33746, 34391, 35043, 35706, 36381, 37066, 37763, 38472, 39192, 39925, 40671, 41429, 42201, 42591, 42986, 43383, 43784, 44189, 44597, 45008, 45424, 45842, 46265, 46691,
     47121, 47555, 47993, 48434, 48880, 49329, 49783, 50241, 50703, 51169, 51639, 52113, 52592, 53075, 53564, 54056, 54552, 55054, 55560, 56071, 56586, 56846, 57107, 57369, 57632, 57896, 58162, 58429, 58697, 58967, 59238, 59510,
     59783, 60057, 60333, 60611, 60889, 61169, 61451, 61733, 62017, 62303, 62589, 62877, 63167, 63458, 63750, 64044, 64340, 64636, 64934, 65234},
    /* u8Asymmetry */
    2,
    /* u8SecondPole */
    180,
    /* u8Stretch */
    54,
    /* u8Compress */
    180,
    /* u8CurveSel */
    0,
    /* au16Xpoint */
    {0, 200, 400, 600, 1000},
    /* au16Ypoint */
    {0, 200, 400, 600, 1000},
    /* au16Slope */
    {1000, 1000, 1000, 1000, 1000}
};

static const ISP_CMOS_DRC_S g_stIspDRCWDR = {
    /* bEnable */
    1,
    /* enOpType */
    0,
    /* u16ManualStrength */
    1023,
    /* u16AutoStrength */
    512,
    /* u8SpatialFltCoef */
    1,
    /* u8RangeFltCoef */
    2,
    /* u8ContrastControl */
    8,
    /* s8DetailAdjustFactor */
    8,
    /* u8RangeAdaMax */
    8,
    /* u8FltScaleFine */
    3,
    /* u8FltScaleCoarse */
    3,
    /* u8GradRevMax */
    64,
    /* u8GradRevThr */
    40,
    /* u8BrightGainLmt */
    15,
    /* u8BrightGainLmtStep */
    10,
    /* u8DarkGainLmtY */
    0,
    /* u8DarkGainLmtC */
    0,
    /* u8PDStrength */
    35,
    /* u8LocalMixingBrightMax */
    30,
    /* u8LocalMixingBrightMin */
    20,
    /* u8LocalMixingBrightThr */
    96,
    /* s8LocalMixingBrightSlo */
    -3,
    /* u8LocalMixingDarkMax */
    35,
    /* u8LocalMixingDarkMin */
    30,
    /* u8LocalMixingDarkThr */
    96,
    /* s8LocalMixingDarkSlo */
    5,
    /* ColorCorrectionLut[33] */
    {1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 772, 768, 764, 760, 756, 752, 748, 744, 740, 736, 732, 728, 724, 720, 716, 712, 708, 704, 700},
    /* ToneMappingValue[200] */
    {8, 8, 16, 24, 31, 39, 48, 56, 65, 75, 85, 95, 106, 118, 130, 143, 156, 170, 185, 201, 218, 235, 254, 274, 294, 316, 339, 364, 390, 417, 446, 477, 509, 543, 579, 617, 658, 701, 746, 794, 844, 898, 955, 1015, 1078, 1145, 1216,
     1291, 1370, 1454, 1543, 1637, 1736, 1841, 1952, 2069, 2194, 2325, 2465, 2612, 2767, 2932, 3106, 3290, 3485, 3691, 3909, 4140, 4384, 4641, 4914, 5202, 5507, 5830, 6171, 6531, 6913, 7316, 7742, 8193, 8669, 9173, 9705, 10268,
     10863, 11492, 12145, 12808, 13483, 14171, 14872, 15587, 16319, 17069, 17840, 18635, 19458, 19881, 20313, 20754, 21204, 21661, 22122, 22586, 23053, 23525, 24000, 24480, 24965, 25455, 25950, 26451, 26959, 27473, 27995, 28524,
     29062, 29609, 30165, 30732, 31309, 31899, 32501, 33116, 33746, 34391, 35043, 35706, 36381, 37066, 37763, 38472, 39192, 39925, 40671, 41429, 42201, 42591, 42986, 43383, 43784, 44189, 44597, 45008, 45424, 45842, 46265, 46691,
     47121, 47555, 47993, 48434, 48880, 49329, 49783, 50241, 50703, 51169, 51639, 52113, 52592, 53075, 53564, 54056, 54552, 55054, 55560, 56071, 56586, 56846, 57107, 57369, 57632, 57896, 58162, 58429, 58697, 58967, 59238, 59510,
     59783, 60057, 60333, 60611, 60889, 61169, 61451, 61733, 62017, 62303, 62589, 62877, 63167, 63458, 63750, 64044, 64340, 64636, 64934, 65234},
    /* u8Asymmetry */
    3,
    /* u8SecondPole */
    200,
    /* u8Stretch */
    45,
    /* u8Compress */
    200,
    /* u8CurveSel */
    0,
    /* au16Xpoint */
    {0, 200, 400, 600, 1000},
    /* au16Ypoint */
    {0, 200, 400, 600, 1000},
    /* au16Slope */
    {1000, 1000, 1000, 1000, 1000}
};

static const ISP_CMOS_CA_S g_stIspCA = {
    /* CA */
    1,
    /* Y */
    {
        36, 81, 111, 136, 158, 182, 207, 228, 259, 290, 317, 345, 369, 396, 420, 444,
        468, 492, 515, 534, 556, 574, 597, 614, 632, 648, 666, 681, 697, 709, 723, 734,
        748, 758, 771, 780, 788, 800, 808, 815, 822, 829, 837, 841, 848, 854, 858, 864,
        868, 871, 878, 881, 885, 890, 893, 897, 900, 903, 906, 909, 912, 915, 918, 921,
        924, 926, 929, 931, 934, 936, 938, 941, 943, 945, 947, 949, 951, 952, 954, 956,
        958, 961, 962, 964, 966, 968, 969, 970, 971, 973, 974, 976, 977, 979, 980, 981,
        983, 984, 985, 986, 988, 989, 990, 991, 992, 993, 995, 996, 997, 998, 999, 1000,
        1001, 1004, 1005, 1006, 1007, 1009, 1010, 1011, 1012, 1014, 1016, 1017, 1019, 1020, 1022, 1024
    },
    /* ISO */
    {1300, 1300, 1250, 1200, 1150, 1100, 1050, 1000, 950, 900, 900, 800, 800, 800, 800, 800}
};


static const ISP_CMOS_LSC_S g_stCmosLsc = {
    /* MeshStrength */
    256,
    /* MeshScale */
    4,
    /* ISP_LSC_CABLI_TABLE_S */
    {
        {
            // Rgain:
            {
                0x26b,  0x1de,  0x179,  0x12a,  0xee,   0xc4,   0xa2,   0x94,   0x94,   0x97,   0xad,   0xc8,   0x10d,  0x133,  0x184,  0x1fd,  0x284,
                0x235,  0x1ba,  0x158,  0x10d,  0xd3,   0xad,   0x8c,   0x7b,   0x74,   0x7b,   0x90,   0xaf,   0xd8,   0x114,  0x164,  0x1d1,  0x253,
                0x210,  0x194,  0x136,  0xec,   0xbc,   0x91,   0x6f,   0x5d,   0x59,   0x5f,   0x75,   0x94,   0xbf,   0xf7,   0x149,  0x1ac,  0x229,
                0x1e1,  0x177,  0x11a,  0xd7,   0xa6,   0x7c,   0x5b,   0x44,   0x3e,   0x4a,   0x5c,   0x7d,   0xab,   0xe2,   0x127,  0x18f,  0x200,
                0x1c8,  0x15f,  0x10d,  0xc9,   0x98,   0x69,   0x4a,   0x32,   0x2a,   0x33,   0x4a,   0x6b,   0x9e,   0xd0,   0x113,  0x175,  0x1e5,
                0x1b6,  0x14f,  0xf9,   0xbf,   0x84,   0x57,   0x34,   0x21,   0x18,   0x21,   0x3a,   0x5e,   0x8e,   0xc2,   0x105,  0x162,  0x1d8,
                0x1a9,  0x140,  0xef,   0xb4,   0x7d,   0x50,   0x2d,   0x11,   0xa,    0x15,   0x2f,   0x57,   0x83,   0xb9,   0xfb,   0x156,  0x1c3,
                0x1a5,  0x134,  0xe9,   0xae,   0x7a,   0x4b,   0x26,   0x8,    0x4,    0xc,    0x28,   0x4f,   0x7f,   0xb8,   0xf7,   0x151,  0x1bf,
                0x19d,  0x134,  0xe8,   0xac,   0x75,   0x48,   0x34,   0x4,    0x0,    0xa,    0x25,   0x50,   0x7e,   0xb5,   0xf8,   0x150,  0x1bd,
                0x199,  0x134,  0xea,   0xae,   0x73,   0x4b,   0x32,   0x5,    0x2,    0xd,    0x2a,   0x4e,   0x83,   0xbc,   0xf9,   0x151,  0x1c0,
                0x1a5,  0x139,  0xee,   0xb1,   0x7e,   0x51,   0x2f,   0x14,   0xd,    0x16,   0x31,   0x56,   0x86,   0xbb,   0x100,  0x158,  0x1c3,
                0x1b2,  0x147,  0xfe,   0xbd,   0x87,   0x5f,   0x3b,   0x24,   0x1b,   0x24,   0x43,   0x64,   0x90,   0xc8,   0x107,  0x164,  0x1d2,
                0x1c1,  0x159,  0x107,  0xca,   0x94,   0x6e,   0x4d,   0x36,   0x30,   0x36,   0x4e,   0x74,   0x9b,   0xd1,   0x11a,  0x173,  0x1e2,
                0x1de,  0x16f,  0x119,  0xda,   0xa7,   0x7f,   0x64,   0x4e,   0x45,   0x4f,   0x62,   0x86,   0xb1,   0xe6,   0x128,  0x188,  0x1fd,
                0x1f9,  0x18a,  0x131,  0xf2,   0xbf,   0x99,   0x79,   0x65,   0x60,   0x6a,   0x7b,   0x9e,   0xc9,   0xfb,   0x13d,  0x19f,  0x21e,
                0x21c,  0x1a9,  0x14b,  0x109,  0xd6,   0xb4,   0x96,   0x83,   0x7f,   0x83,   0x94,   0xb7,   0xe0,   0x115,  0x15d,  0x1c1,  0x23f,
                0x244,  0x1c8,  0x167,  0x127,  0xf5,   0xcc,   0xb1,   0x9f,   0x99,   0x98,   0xb3,   0xce,   0xf7,   0x12e,  0x17a,  0x1e9,  0x262,
            },

            // Grgain:
            {
                0x27c,  0x1fd,  0x18b,  0x138,  0xfb,   0xd2,   0xb1,   0xa3,   0x9d,   0xa0,   0xb7,   0xd8,   0x11d,  0x141,  0x1a4,  0x21c,  0x2ab,
                0x24a,  0x1d0,  0x164,  0x113,  0xde,   0xb4,   0x96,   0x83,   0x7e,   0x84,   0x9a,   0xbb,   0xe8,   0x128,  0x17a,  0x1ec,  0x274,
                0x21c,  0x1a8,  0x140,  0xf8,   0xc5,   0x9b,   0x77,   0x64,   0x5d,   0x67,   0x80,   0x9f,   0xca,   0x105,  0x15a,  0x1c1,  0x24e,
                0x1f6,  0x18b,  0x127,  0xe6,   0xaf,   0x82,   0x62,   0x4b,   0x46,   0x4e,   0x64,   0x85,   0xb6,   0xee,   0x13c,  0x1a6,  0x22d,
                0x1de,  0x170,  0x118,  0xd3,   0x9d,   0x6f,   0x4c,   0x35,   0x2a,   0x37,   0x4f,   0x76,   0xa3,   0xdb,   0x123,  0x187,  0x20b,
                0x1ca,  0x15c,  0x107,  0xc6,   0x8e,   0x5d,   0x3c,   0x21,   0x19,   0x27,   0x41,   0x68,   0x94,   0xce,   0x116,  0x17a,  0x1fa,
                0x1b4,  0x151,  0xfc,   0xbd,   0x85,   0x54,   0x31,   0x12,   0x9,    0x16,   0x34,   0x5c,   0x89,   0xc6,   0x10a,  0x16b,  0x1e5,
                0x1ae,  0x147,  0xf7,   0xb7,   0x80,   0x53,   0x29,   0xa,    0x4,    0x12,   0x2c,   0x56,   0x86,   0xc1,   0x103,  0x166,  0x1dc,
                0x1ac,  0x144,  0xf5,   0xb5,   0x7d,   0x4c,   0x37,   0x7,    0x1,    0xc,    0x2a,   0x55,   0x83,   0xbe,   0x101,  0x166,  0x1d7,
                0x1aa,  0x145,  0xf9,   0xb6,   0x82,   0x52,   0x3a,   0xb,    0x5,    0xd,    0x2d,   0x57,   0x88,   0xc0,   0x102,  0x162,  0x1dc,
                0x1b4,  0x14d,  0xfe,   0xbc,   0x87,   0x5c,   0x36,   0x16,   0xf,    0x19,   0x36,   0x5f,   0x8f,   0xca,   0x10d,  0x16b,  0x1e2,
                0x1be,  0x15a,  0x10b,  0xca,   0x90,   0x63,   0x3e,   0x26,   0x1f,   0x2b,   0x44,   0x69,   0x9c,   0xd2,   0x119,  0x175,  0x1f3,
                0x1c9,  0x16a,  0x114,  0xd5,   0x9e,   0x77,   0x54,   0x3a,   0x33,   0x3a,   0x54,   0x79,   0xa8,   0xe1,   0x127,  0x184,  0x203,
                0x1ed,  0x186,  0x12a,  0xe7,   0xb1,   0x87,   0x6a,   0x55,   0x4c,   0x54,   0x6d,   0x8f,   0xbb,   0xf4,   0x137,  0x1a0,  0x21a,
                0x20d,  0x1a0,  0x140,  0xfc,   0xc7,   0xa3,   0x81,   0x6d,   0x66,   0x71,   0x85,   0xa5,   0xd3,   0x108,  0x152,  0x1b9,  0x23c,
                0x231,  0x1bf,  0x160,  0x119,  0xe6,   0xbd,   0x9e,   0x8a,   0x84,   0x8c,   0xa2,   0xc5,   0xf0,   0x123,  0x16d,  0x1da,  0x260,
                0x25c,  0x1e1,  0x17f,  0x136,  0xfd,   0xda,   0xbe,   0xaa,   0x9f,   0xa9,   0xbb,   0xda,   0x104,  0x13e,  0x18e,  0x1ff,  0x285,
            },

            // Gbgain:
            {
                0x28b,  0x1fd,  0x18e,  0x139,  0xfd,   0xd7,   0xb6,   0xa3,   0xa4,   0xa9,   0xbc,   0xde,   0x126,  0x14d,  0x1a5,  0x21f,  0x2b1,
                0x256,  0x1d6,  0x16a,  0x11d,  0xe4,   0xb9,   0x9b,   0x87,   0x83,   0x8b,   0xa0,   0xc1,   0xec,   0x12e,  0x183,  0x1f5,  0x284,
                0x229,  0x1ad,  0x142,  0xfb,   0xc9,   0x9f,   0x7c,   0x6a,   0x62,   0x6c,   0x84,   0xa4,   0xd2,   0x10f,  0x15f,  0x1ce,  0x252,
                0x201,  0x18a,  0x129,  0xe8,   0xb1,   0x86,   0x67,   0x4d,   0x4b,   0x51,   0x6a,   0x8b,   0xbc,   0xf9,   0x140,  0x1ac,  0x229,
                0x1ea,  0x176,  0x116,  0xd2,   0x9e,   0x73,   0x4e,   0x38,   0x2f,   0x3c,   0x54,   0x7a,   0xaa,   0xe0,   0x127,  0x18f,  0x211,
                0x1ce,  0x160,  0x107,  0xc8,   0x94,   0x5f,   0x3d,   0x22,   0x1e,   0x28,   0x43,   0x6b,   0x9a,   0xd1,   0x11c,  0x17d,  0x1fa,
                0x1bf,  0x153,  0x101,  0xbe,   0x86,   0x54,   0x2f,   0x14,   0xc,    0x1b,   0x36,   0x60,   0x91,   0xc9,   0x110,  0x16f,  0x1eb,
                0x1bf,  0x14a,  0xfa,   0xb8,   0x81,   0x4f,   0x28,   0xb,    0x3,    0x11,   0x2e,   0x56,   0x8a,   0xc6,   0x10a,  0x16a,  0x1e2,
                0x1b1,  0x149,  0xfa,   0xb8,   0x7f,   0x50,   0x37,   0x8,    0x0,    0xf,    0x2e,   0x57,   0x89,   0xc2,   0x107,  0x16a,  0x1df,
                0x1b9,  0x148,  0xf9,   0xba,   0x82,   0x54,   0x36,   0xd,    0x5,    0x10,   0x2f,   0x5a,   0x8b,   0xc5,   0x10a,  0x167,  0x1dd,
                0x1c0,  0x150,  0x100,  0xbf,   0x86,   0x5a,   0x34,   0x16,   0x10,   0x18,   0x39,   0x61,   0x91,   0xcb,   0x115,  0x171,  0x1e9,
                0x1d0,  0x15d,  0x10b,  0xc9,   0x93,   0x66,   0x43,   0x26,   0x1f,   0x29,   0x46,   0x6d,   0x9f,   0xd4,   0x11a,  0x17d,  0x1f3,
                0x1e1,  0x16e,  0x11a,  0xd6,   0x9d,   0x76,   0x54,   0x3c,   0x35,   0x40,   0x59,   0x7b,   0xad,   0xe4,   0x128,  0x187,  0x20a,
                0x200,  0x184,  0x12c,  0xe8,   0xb3,   0x87,   0x66,   0x51,   0x4d,   0x55,   0x6d,   0x93,   0xbd,   0xf9,   0x13f,  0x1a2,  0x21d,
                0x214,  0x1a4,  0x145,  0xfd,   0xc7,   0x9f,   0x82,   0x6d,   0x66,   0x6d,   0x86,   0xa8,   0xd7,   0x10c,  0x155,  0x1bd,  0x246,
                0x242,  0x1c2,  0x161,  0x119,  0xe4,   0xb9,   0x9d,   0x8f,   0x83,   0x8d,   0xa3,   0xc4,   0xf1,   0x12a,  0x174,  0x1e1,  0x26b,
                0x261,  0x1de,  0x17f,  0x131,  0xfd,   0xd8,   0xbc,   0xac,   0x9d,   0xa9,   0xbe,   0xe0,   0x109,  0x142,  0x193,  0x208,  0x28f,
            },

            // Bgain:
            {
                0x28e,  0x202,  0x186,  0x12f,  0xfb,   0xcc,   0xb4,   0xa4,   0xa4,   0xa9,   0xba,   0xe2,   0x120,  0x14b,  0x1a5,  0x220,  0x2b6,
                0x251,  0x1d8,  0x16e,  0x114,  0xde,   0xb3,   0x92,   0x83,   0x81,   0x88,   0xa1,   0xbe,   0xec,   0x128,  0x17d,  0x1f1,  0x274,
                0x228,  0x1ac,  0x144,  0xfc,   0xc2,   0x97,   0x7c,   0x67,   0x61,   0x67,   0x7e,   0x9e,   0xcf,   0x107,  0x155,  0x1c9,  0x252,
                0x1fa,  0x183,  0x12a,  0xe4,   0xb0,   0x83,   0x61,   0x4d,   0x48,   0x50,   0x67,   0x86,   0xb4,   0xec,   0x133,  0x1a4,  0x22c,
                0x1da,  0x16d,  0x113,  0xcd,   0x9f,   0x70,   0x4e,   0x3a,   0x2f,   0x3c,   0x51,   0x75,   0xa0,   0xdb,   0x11e,  0x185,  0x201,
                0x1c5,  0x15d,  0x101,  0xc5,   0x8b,   0x5b,   0x41,   0x24,   0x1e,   0x27,   0x3d,   0x65,   0x93,   0xce,   0x114,  0x179,  0x1fc,
                0x1bc,  0x150,  0xfb,   0xbe,   0x87,   0x57,   0x30,   0x17,   0xd,    0x18,   0x37,   0x5f,   0x8b,   0xbf,   0x105,  0x16b,  0x1e9,
                0x1ac,  0x147,  0xf1,   0xb8,   0x80,   0x4f,   0x29,   0xf,    0x5,    0x10,   0x32,   0x5c,   0x88,   0xc2,   0x107,  0x160,  0x1d4,
                0x1af,  0x143,  0xf7,   0xb4,   0x7d,   0x4f,   0x3a,   0x7,    0x1,    0xc,    0x2f,   0x57,   0x8b,   0xc0,   0x102,  0x15f,  0x1d8,
                0x1a8,  0x147,  0xf5,   0xb6,   0x80,   0x51,   0x37,   0xc,    0x5,    0x10,   0x2f,   0x5a,   0x8b,   0xc8,   0x108,  0x163,  0x1da,
                0x1bc,  0x151,  0xfb,   0xba,   0x8a,   0x59,   0x36,   0x15,   0xf,    0x1b,   0x38,   0x62,   0x92,   0xc9,   0x10e,  0x171,  0x1ec,
                0x1cd,  0x156,  0x105,  0xc6,   0x8c,   0x66,   0x45,   0x27,   0x23,   0x27,   0x47,   0x6f,   0x9a,   0xd8,   0x115,  0x17e,  0x1ee,
                0x1da,  0x16c,  0x110,  0xd2,   0x9e,   0x78,   0x54,   0x3d,   0x38,   0x3e,   0x58,   0x78,   0xad,   0xe3,   0x126,  0x186,  0x20d,
                0x201,  0x18e,  0x12b,  0xe2,   0xb1,   0x87,   0x67,   0x54,   0x51,   0x58,   0x6c,   0x93,   0xb8,   0xf4,   0x13b,  0x1a3,  0x229,
                0x217,  0x1aa,  0x147,  0x100,  0xc8,   0xa0,   0x82,   0x6c,   0x66,   0x6c,   0x86,   0xa9,   0xd0,   0x107,  0x156,  0x1bb,  0x23b,
                0x232,  0x1c2,  0x165,  0x117,  0xe4,   0xbf,   0xa2,   0x8c,   0x85,   0x8a,   0x9f,   0xc1,   0xeb,   0x126,  0x16b,  0x1dd,  0x26c,
                0x262,  0x1ea,  0x17c,  0x132,  0xf7,   0xd2,   0xc0,   0xa9,   0x9f,   0xa5,   0xb9,   0xd3,   0x102,  0x137,  0x184,  0x206,  0x289,
            },
        },

        {
            // Rgain:
            {
                0x399,  0x2df,  0x23e,  0x1cd,  0x170,  0x135,  0xfc,   0xdb,   0xda,   0xe4,   0xfd,  0x12f,  0x16e,  0x1d4,  0x24e,  0x2ee,  0x3e2,
                0x372,  0x2b0,  0x20f,  0x19a,  0x140,  0x109,  0xdc,   0xb7,   0xaf,   0xbe,   0xd5,  0x105,  0x14c,  0x1a4,  0x225,  0x2b8,  0x384,
                0x32a,  0x276,  0x1e3,  0x174,  0x11c,  0xda,   0xaf,   0x92,   0x88,   0x97,   0xac,  0xec,   0x125,  0x180,  0x200,  0x289,  0x34f,
                0x2f6,  0x24f,  0x1bd,  0x14b,  0xfd,   0xba,   0x89,   0x6c,   0x61,   0x71,   0x89,  0xc6,   0x107,  0x15a,  0x1c7,  0x262,  0x319,
                0x2c9,  0x229,  0x1a5,  0x135,  0xdb,   0x9b,   0x6a,   0x4a,   0x3f,   0x4e,   0x6c,  0xa5,   0xeb,   0x13e,  0x1b1,  0x23d,  0x2e3,
                0x2b9,  0x211,  0x187,  0x11b,  0xc9,   0x81,   0x4d,   0x2b,   0x21,   0x2f,   0x58,  0x8f,   0xda,   0x12a,  0x196,  0x229,  0x2c8,
                0x29c,  0x1fb,  0x16e,  0x10d,  0xb5,   0x6e,   0x37,   0x11,   0x7,    0x1a,   0x46,  0x7b,   0xc3,   0x118,  0x187,  0x210,  0x2b7,
                0x2bc,  0x1f5,  0x16b,  0x106,  0xb1,   0x61,   0x2e,   0x4,    0x0,    0xe,    0x3a,  0x71,   0xba,   0x113,  0x17f,  0x206,  0x2a4,
                0x33a,  0x1f3,  0x165,  0xfd,   0xab,   0x62,   0x2d,   0x2,    0x3,    0x8,    0x35,  0x6e,   0xb6,   0x10f,  0x179,  0x202,  0x29f,
                0x2f0,  0x1e6,  0x165,  0x103,  0xac,   0x63,   0x30,   0x7,    0x1,    0xb,    0x36,  0x70,   0xb8,   0x112,  0x176,  0x208,  0x2a4,
                0x2d2,  0x1f4,  0x171,  0x106,  0xb6,   0x70,   0x38,   0x15,   0xa,    0x18,   0x40,  0x78,   0xbf,   0x11c,  0x181,  0x20c,  0x2ac,
                0x2d0,  0x202,  0x17e,  0x118,  0xc0,   0x7c,   0x4a,   0x2e,   0x1d,   0x2e,   0x4f,  0x87,   0xcd,   0x122,  0x190,  0x21a,  0x2bb,
                0x2be,  0x216,  0x194,  0x12d,  0xd9,   0x99,   0x64,   0x49,   0x3d,   0x48,   0x68,  0x9d,   0xdd,   0x13f,  0x1a3,  0x229,  0x2cf,
                0x2e4,  0x236,  0x1bb,  0x144,  0xf0,   0xb5,   0x81,   0x63,   0x62,   0x66,   0x86,  0xb7,   0xfb,   0x14e,  0x1be,  0x249,  0x2ed,
                0x30c,  0x26c,  0x1ce,  0x164,  0x110,  0xd4,   0xa4,   0x86,   0x7f,   0x86,   0xa6,  0xd7,   0x115,  0x171,  0x1da,  0x270,  0x31c,
                0x339,  0x28d,  0x1fb,  0x18d,  0x133,  0xf6,   0xc5,   0xaa,   0xa1,   0xae,   0xca,  0xf8,   0x138,  0x195,  0x210,  0x2a1,  0x355,
                0x37f,  0x2be,  0x229,  0x1b1,  0x159,  0x118,  0xeb,   0xd3,   0xc6,   0xd4,   0xed,  0x11f,  0x15d,  0x1cd,  0x23d,  0x2cc,  0x388,
            },

            // Grgain:
            {
                0x324,  0x279,  0x1f5,  0x191,  0x148,  0x113,   0xe4,   0xcd,   0xc9,   0xd4,   0xf2,  0x11f,  0x164,  0x1b6,  0x22c,  0x2ba,  0x392,
                0x2f1,  0x250,  0x1cb,  0x16c,  0x11f,  0xe9,    0xc2,   0xa8,   0xa5,   0xb1,   0xcf,  0xfa,   0x13d,  0x193,  0x208,  0x28d,  0x349,
                0x2b8,  0x225,  0x1a9,  0x148,  0xfa,   0xc5,    0x9c,   0x80,   0x7e,   0x8e,   0xa5,  0xe3,   0x11b,  0x16e,  0x1e6,  0x266,  0x316,
                0x28b,  0x201,  0x18e,  0x12a,  0xe4,   0xa5,    0x79,   0x60,   0x59,   0x6a,   0x85,  0xbf,   0xfe,   0x151,  0x1b7,  0x243,  0x2e3,
                0x26b,  0x1e5,  0x174,  0x111,  0xc4,   0x88,    0x5d,   0x40,   0x39,   0x4a,   0x69,  0xa2,   0xea,   0x137,  0x19e,  0x223,  0x2b8,
                0x253,  0x1cd,  0x159,  0xfc,   0xb2,   0x73,    0x43,   0x26,   0x1e,   0x30,   0x57,  0x90,   0xd8,   0x124,  0x188,  0x211,  0x2a4,
                0x247,  0x1bd,  0x14c,  0xf2,   0xa4,   0x65,    0x31,   0x10,   0x6,    0x1a,   0x49,  0x7c,   0xc3,   0x116,  0x17a,  0x201,  0x292,
                0x263,  0x1b6,  0x141,  0xec,   0xa1,   0x5a,    0x26,   0x3,    0x1,    0xf,    0x3f,  0x74,   0xb9,   0x111,  0x172,  0x1f3,  0x285,
                0x2dc,  0x1b4,  0x13e,  0xe6,   0x98,   0x56,    0x25,   0x1,    0x5,    0xb,    0x38,  0x71,   0xb8,   0x10e,  0x16f,  0x1ed,  0x281,
                0x291,  0x1af,  0x142,  0xe5,   0x9d,   0x5a,    0x2b,   0x7,    0x2,    0xe,    0x3c,  0x74,   0xbb,   0x10f,  0x170,  0x1f0,  0x27f,
                0x28d,  0x1b7,  0x14b,  0xee,   0xa5,   0x64,    0x35,   0x13,   0xa,    0x1c,   0x42,  0x7d,   0xbe,   0x116,  0x17b,  0x1f8,  0x28c,
                0x27e,  0x1c3,  0x156,  0xfc,   0xb1,   0x76,    0x46,   0x2e,   0x1f,   0x2f,   0x55,  0x8c,   0xd1,   0x127,  0x185,  0x207,  0x2a5,
                0x265,  0x1d8,  0x169,  0x111,  0xc5,   0x8a,    0x5c,   0x49,   0x3f,   0x4c,   0x6e,  0xa0,   0xe2,   0x13b,  0x199,  0x215,  0x2ac,
                0x282,  0x1f2,  0x188,  0x125,  0xde,   0xa5,    0x79,   0x5e,   0x63,   0x67,   0x89,  0xb8,   0xf8,   0x14c,  0x1ae,  0x231,  0x2cb,
                0x2a6,  0x221,  0x19c,  0x141,  0xfb,   0xc2,    0x9a,   0x82,   0x7d,   0x88,   0xa6,  0xd6,   0x114,  0x168,  0x1cd,  0x257,  0x2f4,
                0x2cd,  0x240,  0x1c2,  0x166,  0x11e,  0xe7,    0xbc,   0xa8,   0xa0,   0xac,   0xca,  0xf7,   0x138,  0x18a,  0x1f8,  0x27d,  0x31d,
                0x317,  0x268,  0x1ef,  0x189,  0x13b,  0x106,   0xde,   0xc9,   0xc3,   0xd3,   0xed,  0x119,  0x15a,  0x1c1,  0x221,  0x2a9,  0x357,
            },

            // Gbgain:
            {
                0x32b,  0x277,  0x1f2,  0x18f,  0x148,  0x116,   0xe3,   0xc9,   0xc9,   0xd5,   0xf1,  0x11c,  0x15a,  0x1b4,  0x22d,  0x2bd,  0x38d,
                0x2f4,  0x24d,  0x1ca,  0x16d,  0x11b,  0xea,    0xc4,   0xa8,   0xa3,   0xb3,   0xc9,  0xfb,   0x13d,  0x190,  0x204,  0x28e,  0x348,
                0x2b8,  0x221,  0x1a8,  0x149,  0xfe,   0xc5,    0x9b,   0x80,   0x7a,   0x8e,   0xa6,  0xe2,   0x119,  0x16f,  0x1e4,  0x269,  0x315,
                0x28e,  0x201,  0x18a,  0x12d,  0xe3,   0xa2,    0x78,   0x60,   0x58,   0x6c,   0x86,  0xc0,   0xfc,   0x14e,  0x1b9,  0x242,  0x2e7,
                0x270,  0x1e1,  0x178,  0x115,  0xc5,   0x8a,    0x5e,   0x41,   0x3a,   0x4b,   0x6a,  0xa2,   0xe7,   0x136,  0x19e,  0x225,  0x2bd,
                0x258,  0x1ce,  0x15c,  0xff,   0xb1,   0x75,    0x44,   0x26,   0x1e,   0x30,   0x57,  0x8d,   0xd7,   0x125,  0x18c,  0x212,  0x2a7,
                0x241,  0x1bd,  0x14f,  0xf2,   0xa5,   0x65,    0x30,   0x11,   0x7,    0x1b,   0x48,  0x7d,   0xc3,   0x118,  0x17b,  0x1ff,  0x297,
                0x26b,  0x1ba,  0x147,  0xef,   0xa1,   0x5b,    0x28,   0x4,    0x1,    0x10,   0x3e,  0x75,   0xba,   0x112,  0x171,  0x1f4,  0x28b,
                0x2de,  0x1b6,  0x140,  0xe5,   0x98,   0x5a,    0x27,   0x1,    0x5,    0xb,    0x37,  0x71,   0xb8,   0x10f,  0x171,  0x1f2,  0x27f,
                0x293,  0x1b0,  0x144,  0xe6,   0x9c,   0x5a,    0x2c,   0x7,    0x4,    0xe,    0x39,  0x74,   0xbc,   0x10f,  0x16e,  0x1f4,  0x282,
                0x285,  0x1ba,  0x14b,  0xef,   0xa5,   0x66,    0x36,   0x15,   0xb,    0x1d,   0x46,  0x7c,   0xc1,   0x117,  0x17c,  0x1f8,  0x293,
                0x27c,  0x1c5,  0x159,  0xfd,   0xb1,   0x79,    0x47,   0x2e,   0x1f,   0x33,   0x56,  0x8e,   0xce,   0x129,  0x187,  0x206,  0x295,
                0x266,  0x1db,  0x16d,  0x111,  0xc6,   0x8d,    0x5f,   0x49,   0x3f,   0x4a,   0x6f,  0xa3,   0xe1,   0x13a,  0x19c,  0x219,  0x2ac,
                0x280,  0x1f4,  0x18a,  0x126,  0xde,   0xa5,    0x7e,   0x61,   0x61,   0x67,   0x87,  0xbd,   0xf6,   0x14e,  0x1ae,  0x232,  0x2cb,
                0x2ae,  0x21f,  0x1a0,  0x141,  0xf8,   0xc4,    0x99,   0x84,   0x7f,   0x89,   0xa6,  0xd4,   0x115,  0x169,  0x1d1,  0x255,  0x2f2,
                0x2d4,  0x243,  0x1c6,  0x165,  0x11a,  0xe6,    0xc0,   0xa8,   0xa0,   0xaa,   0xca,  0xfc,   0x137,  0x18a,  0x1f9,  0x282,  0x324,
                0x310,  0x26a,  0x1f0,  0x18a,  0x13d,  0x108,   0xde,   0xca,   0xc3,   0xcf,   0xf0,  0x11d,  0x15b,  0x1c1,  0x227,  0x2aa,  0x360,
            },

            // Bgain:
            {
                0x2f0,  0x24a,  0x1d2,  0x175,  0x137,  0x105,   0xd7,   0xbd,   0xc0,   0xca,   0xec,   0x10f,  0x14b,  0x1a7,  0x21b,  0x29c,  0x35e,
                0x2b8,  0x228,  0x1ad,  0x155,  0x114,  0xe1,    0xbe,   0xa0,   0x9d,   0xad,   0xc1,   0xf3,   0x138,  0x183,  0x1f5,  0x278,  0x325,
                0x28f,  0x1fe,  0x18b,  0x138,  0xf1,   0xbc,    0x96,   0x7e,   0x78,   0x8a,   0xa2,   0xda,   0x114,  0x162,  0x1d6,  0x253,  0x2f5,
                0x25e,  0x1df,  0x171,  0x11b,  0xd7,   0x9f,    0x76,   0x5d,   0x5b,   0x69,   0x84,   0xbd,   0xf9,   0x14a,  0x1ae,  0x232,  0x2c8,
                0x249,  0x1c4,  0x15d,  0x105,  0xba,   0x83,    0x5a,   0x3c,   0x37,   0x4c,   0x67,   0x9f,   0xe7,   0x12f,  0x195,  0x214,  0x2a1,
                0x234,  0x1af,  0x141,  0xf0,   0xa8,   0x71,    0x3e,   0x23,   0x1d,   0x30,   0x58,   0x91,   0xd3,   0x122,  0x180,  0x202,  0x287,
                0x21e,  0x19d,  0x138,  0xe3,   0x9d,   0x61,    0x2e,   0xf,    0x6,    0x1a,   0x47,   0x7c,   0xbf,   0x119,  0x171,  0x1f5,  0x279,
                0x244,  0x19f,  0x133,  0xdd,   0x97,   0x56,    0x28,   0x4,    0x1,    0x11,   0x3d,   0x77,   0xbc,   0x10f,  0x16f,  0x1e9,  0x276,
                0x2a9,  0x19e,  0x12e,  0xda,   0x92,   0x54,    0x24,   0x4,    0x7,    0xd,    0x3c,   0x75,   0xb4,   0x10b,  0x168,  0x1e9,  0x271,
                0x267,  0x192,  0x128,  0xd9,   0x96,   0x56,    0x2a,   0x6,    0x7,    0x10,   0x3d,   0x74,   0xb6,   0x10c,  0x168,  0x1e4,  0x271,
                0x263,  0x19a,  0x134,  0xdd,   0x9d,   0x65,    0x37,   0x16,   0xe,    0x1f,   0x46,   0x79,   0xbd,   0x112,  0x170,  0x1ef,  0x286,
                0x254,  0x1a5,  0x143,  0xf0,   0xa7,   0x70,    0x46,   0x2e,   0x21,   0x33,   0x55,   0x90,   0xcb,   0x11d,  0x17d,  0x1f9,  0x287,
                0x236,  0x1bd,  0x153,  0x100,  0xba,   0x84,    0x57,   0x45,   0x42,   0x50,   0x6d,   0xa2,   0xde,   0x137,  0x194,  0x20a,  0x297,
                0x25b,  0x1db,  0x175,  0x115,  0xd2,   0x9b,    0x76,   0x5b,   0x5f,   0x69,   0x8a,   0xba,   0xf4,   0x149,  0x1a4,  0x226,  0x2bb,
                0x27d,  0x1fb,  0x186,  0x132,  0xef,   0xbc,    0x97,   0x81,   0x7d,   0x86,   0xa4,   0xd5,   0x112,  0x15e,  0x1bc,  0x242,  0x2da,
                0x2a9,  0x21f,  0x1aa,  0x151,  0x10e,  0xdc,    0xb7,   0xa3,   0x99,   0xaa,   0xc6,   0xee,   0x130,  0x183,  0x1f3,  0x264,  0x304,
                0x2d0,  0x245,  0x1da,  0x175,  0x12c,  0xf9,    0xdb,   0xc3,   0xbb,   0xc8,   0xe7,   0x114,  0x14d,  0x1b2,  0x218,  0x29b,  0x338,
            },
        },
    },

};


#ifdef __cplusplus
#if __cplusplus
}
#endif
#endif /* End of #ifdef __cplusplus */


#endif /* __OV2718_CMOS_EX_H_ */
